File tree 1 file changed +0
-15
lines changed
DialogHost/DialogHost.Example
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 5
5
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
6
6
xmlns : local =" clr-namespace:DialogHost.Example"
7
7
xmlns : md =" http://materialdesigninxaml.net/winfx/xaml/themes"
8
- xmlns : controlzEx =" clr-namespace:ControlzEx;assembly=MaterialDesignThemes.Wpf"
9
8
mc : Ignorable =" d"
10
9
Title =" MainWindow" Height =" 350" Width =" 525" >
11
10
<Window .Resources>
20
19
<local : MainWindowViewModel />
21
20
</Window .DataContext>
22
21
<md : DialogHost >
23
- <md : DialogHost .Resources>
24
- </md : DialogHost .Resources>
25
- <md : DialogHost .PopupStyle>
26
- <Style BasedOn =" {StaticResource MaterialDesignDialogHostPopup}" TargetType =" {x:Type controlzEx:PopupEx}" >
27
- <Style .Resources>
28
- <SolidColorBrush x : Key =" MaterialDesignCardBackground" >Red</SolidColorBrush >
29
-
30
- </Style .Resources>
31
- <Setter Property =" StaysOpen" Value =" True" />
32
- <Setter Property =" AllowsTransparency" Value =" True" />
33
- <Setter Property =" PopupAnimation" Value =" None" />
34
- <Setter Property =" Placement" Value =" Center" />
35
- </Style >
36
- </md : DialogHost .PopupStyle>
37
22
<md : DialogHost .DialogContentTemplate>
38
23
<DataTemplate DataType =" local:LoginViewModel" >
39
24
<StackPanel Margin =" 20" MinWidth =" 300" >
You can’t perform that action at this time.
0 commit comments