-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowException.xaml
More file actions
41 lines (38 loc) · 1.77 KB
/
Copy pathWindowException.xaml
File metadata and controls
41 lines (38 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Window x:Class="KLC_Hawk.WindowException"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="Exception"
Width="700"
Height="300"
ResizeMode="CanResizeWithGrip"
mc:Ignorable="d" WindowStartupLocation="CenterScreen">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<!-- Info -->
<TextBlock Margin="10" FontSize="14" TextWrapping="Wrap"
Text="{Binding Exception.Message, Mode=OneWay, TargetNullValue=-, FallbackValue='Exception error here.'}"/>
<!-- Exception details -->
<TextBox Grid.Row="1" Background="#EEEEEE" Text="{Binding DetailsText, Mode=OneWay, TargetNullValue=-}" VerticalScrollBarVisibility="Auto" IsReadOnly="true" HorizontalScrollBarVisibility="Auto" TextWrapping="Wrap" MinHeight="150" />
<!-- Close Button -->
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
<Button
Margin="0,10,10,10"
Padding="5"
HorizontalAlignment="Right"
Click="OnExitAppClick"
Content="Exit Application" />
<Button x:Name="btnContinue"
Margin="0,10,10,10"
Padding="5"
HorizontalAlignment="Right"
Click="OnContinueAppClick"
Content="Continue" />
</StackPanel>
</Grid>
</Window>