Skip to content

Commit a96f9cd

Browse files
committed
fix conflict between routed and attached, routed dialog close event.
1 parent ff9182a commit a96f9cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MainDemo.Wpf/Dialogs.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
</StackPanel>
6767
</wpf:DialogHost.DialogContent>
6868
<Border BorderThickness="1" BorderBrush="{DynamicResource PrimaryHueMidBrush}"
69-
MinWidth="256" MinHeight="256">
69+
MinWidth="256" MinHeight="256" ClipToBounds="True">
7070
<Grid>
7171
<Grid.RowDefinitions>
7272
<RowDefinition Height="*" />
@@ -77,7 +77,7 @@
7777
<ListBoxItem>Banana</ListBoxItem>
7878
<ListBoxItem>Pear</ListBoxItem>
7979
</ListBox>
80-
<wpf:ColorZone Mode="PrimaryMid" Grid.Row="1">
80+
<wpf:ColorZone Mode="PrimaryMid" Grid.Row="1" Effect="{DynamicResource MaterialDesignShadowDepth5}">
8181
<TextBlock Margin="16">Fruit Bowl</TextBlock>
8282
</wpf:ColorZone>
8383
<Button Style="{StaticResource MaterialDesignFloatingActionAccentButton}"

0 commit comments

Comments
 (0)