forked from MahApps/MahApps.Metro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDialogWindow.xaml
15 lines (15 loc) · 888 Bytes
/
DialogWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<controls:MetroWindow x:Class="Mahapps.Metro.Tests.DialogWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:dialogs="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<controls:MetroWindow.Resources>
<dialogs:CustomDialog x:Key="CustomDialog">
<TextBlock x:Name="TheDialogBody" Text="{Binding Path=Text}" />
</dialogs:CustomDialog>
</controls:MetroWindow.Resources>
</controls:MetroWindow>