如何添加阴影SplitView.Pane
?
我尝试DropShadowPanel
了 UWP Community Toolkit UI Controls 并写了如下内容:
<SplitView DisplayMode="Overlay" PanePlacement="Right" Grid.Column="1" HorizontalAlignment="Stretch">
<SplitView.Pane>
<controls:DropShadowPanel>
<Frame Name="DetailsFrame" />
</controls:DropShadowPanel>
</SplitView.Pane>
</SplitView>
但是,阴影出现在窗格内部,而我希望它在外部SplitView.Pane
,将其包裹起来。我该如何实施?谢谢!