[英]Border goes through NavigationView
Border
goes through NavigationView
Border
经过NavigationView
See Screenshot见截图
How can I make the Border
not go through NavigationView
.如何通过
NavigationView
使Border
不是 go 。
<Viewbox Stretch="Uniform" StretchDirection="Both" Width="350" Margin="-900,0,-220,0">
<Border CornerRadius="50" Width="350" Height="700" Background="White">
<RadioButton Margin="45,0,00,500">
<TextBlock Margin="20,0,0,0" Text="Test" Foreground="Black"></TextBlock>
</RadioButton>
</Border>
</Viewbox>
You need to set PaneDisplayMode
to Left
.您需要将
PaneDisplayMode
设置为Left
。
The default PaneDisplayMode for the NavigationView is Auto, so when the window width is less than or equal to CompactModeThresholdWidth, LeftMinimal navigation is used.
NavigationView 的默认 PaneDisplayMode 为 Auto,因此当 window 宽度小于或等于 CompactModeThresholdWidth 时,使用 LeftMinimal 导航。 When the window gets wider, the VisualState overrides the default, and Top navigation is used.
当 window 变宽时,VisualState 会覆盖默认值,并使用顶部导航。
The PaneDisplayMode
is Auto
by default and depending on the window width, it switches to LeftMinimal
which might hide the content with the pane. PaneDisplayMode
默认为Auto
,根据 window 的宽度,它会切换到LeftMinimal
,这可能会隐藏窗格中的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.