-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMessageDialog.xaml
More file actions
31 lines (29 loc) · 1.62 KB
/
Copy pathMessageDialog.xaml
File metadata and controls
31 lines (29 loc) · 1.62 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
<Window x:Class="ClamHub.MessageDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ClamHub" SizeToContent="Height" Width="520"
WindowStartupLocation="CenterOwner" WindowStyle="None" ResizeMode="NoResize"
Background="{StaticResource BgBrush}"
MouseLeftButtonDown="Window_MouseLeftButtonDown">
<Border BorderBrush="{StaticResource WindowBorderBrush}" BorderThickness="1">
<Grid Margin="24">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" x:Name="TitleText" FontSize="20" FontWeight="SemiBold"/>
<TextBlock Grid.Row="1" x:Name="MessageText" Margin="0,12,0,0"
TextWrapping="Wrap" Foreground="{StaticResource MutedTextBrush}"/>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right"
Margin="0,20,0,0">
<Button x:Name="ConfirmButton" MinWidth="100" Height="30" Padding="14,0"
Margin="0,0,8,0" Click="Confirm_Click"/>
<Button x:Name="CancelButton" MinWidth="90" Height="30" Padding="14,0"
Margin="0,0,8,0" Click="Cancel_Click"/>
<Button x:Name="ExtraButton" MinWidth="90" Height="30" Padding="14,0"
Visibility="Collapsed" Click="Extra_Click"/>
</StackPanel>
</Grid>
</Border>
</Window>