-
Notifications
You must be signed in to change notification settings - Fork 0
/
CustomMessageBox.xaml
27 lines (26 loc) · 1.45 KB
/
CustomMessageBox.xaml
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
<Window x:Class="Google_Bookmarks_Manager_for_GPOs.CustomMessageBox"
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"
xmlns:local="clr-namespace:Google_Bookmarks_Manager_for_GPOs"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
Background="{DynamicResource MaterialDesignPaper}"
TextElement.FontWeight="Medium"
TextElement.FontSize="14"
FontFamily="{materialDesign:MaterialDesignFont}"
mc:Ignorable="d"
Title="CustomMessageBox" Height="200" Width="400">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Name="MessageTextBlock" Text="Message" Margin="20" TextWrapping="Wrap" />
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,20">
<Button Name="OKButton" Content="OK" Width="100" Height="30" Margin="10" Click="OKButton_Click" />
<Button Name="CancelButton" Content="Cancel" Width="100" Height="30" Margin="10" Click="CancelButton_Click" />
</StackPanel>
</Grid>
</Window>