I am currently working on a Splitview Control which contains some menu options in SplitView Pane and a Grid in SplitView Content section. When the split view pane is opened its content gets hidden. Is it possible to move that slightly left like the following screenshot?
My basic split view implementation is
<SplitView x:Name="OptionsSplitView" OpenPaneLength="200" PanePlacement="Right"
DisplayMode="Overlay">
<SplitView.Pane>
<ListView x:Name="OptionsList"
Margin="10,10,0,0"
Grid.Row="1"
VerticalAlignment="Center"
ItemContainerStyle="{StaticResource GenericListViewContainerStyle}"
ItemTemplate="{StaticResource OptionsListItemTemplate}"
SelectionChanged="OptionsList_SelectionChanged">
</ListView>
</SplitView.Pane>
<SplitView.Content>
<Grid/>
</SplitView.Content>
</SplitView>
Please suggest is it possible to customize split view as per screenshot?
Bingo,
You can achieve it by just setting Right Margin of content whenever Pane Open or close.
Do refer Below link to get pane open & close event.
(Windows 10 UWP) SplitView.PaneClosed event is available but not for PaneOpened
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句