Skip to content

Commit 070694f

Browse files
committed
Removing style
Fixes #17
1 parent d314509 commit 070694f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

DialogHost/DialogHost.Example/MainWindow.xaml

-15
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:local="clr-namespace:DialogHost.Example"
77
xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
8-
xmlns:controlzEx="clr-namespace:ControlzEx;assembly=MaterialDesignThemes.Wpf"
98
mc:Ignorable="d"
109
Title="MainWindow" Height="350" Width="525">
1110
<Window.Resources>
@@ -20,20 +19,6 @@
2019
<local:MainWindowViewModel />
2120
</Window.DataContext>
2221
<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>
3722
<md:DialogHost.DialogContentTemplate>
3823
<DataTemplate DataType="local:LoginViewModel">
3924
<StackPanel Margin="20" MinWidth="300">

0 commit comments

Comments
 (0)