Skip to content

Commit 3724b85

Browse files
committed
Force NavigationView content area to clip content (rounded corner) to match WinUI behavior
1 parent 45d26c4 commit 3724b85

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/iNKORE.UI.WPF.Modern.Controls/Controls/Windows/NavigationView/NavigationView.xaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,8 +1212,7 @@
12121212
</local:SplitView.Pane>
12131213

12141214
<local:SplitView.Content>
1215-
<Border
1216-
x:Name="ContentBorder"
1215+
<ikw:ClippedContent x:Name="ContentBorder"
12171216
Margin="{DynamicResource NavigationViewContentMargin}"
12181217
Background="{DynamicResource NavigationViewContentBackground}"
12191218
BorderBrush="{DynamicResource NavigationViewContentGridBorderBrush}"
@@ -1255,7 +1254,7 @@
12551254
Grid.ColumnSpan="2"
12561255
Content="{TemplateBinding Content}" />
12571256
</Grid>
1258-
</Border>
1257+
</ikw:ClippedContent>
12591258
</local:SplitView.Content>
12601259
</local:SplitView>
12611260

0 commit comments

Comments
 (0)