你的位置:首页 > 软件开发 > ASP.net > 【Win10 开发】关于汉堡菜单

【Win10 开发】关于汉堡菜单

发布时间:2015-10-24 02:00:10
SplitView(汉堡菜单)是win10新加的一种控件,顾名思义,其实就是将视图分割成两部分,废话不多说,下面来介绍一下SplitView的基本用法。首先介绍几个SplitView经常用到的属性。(我直接搬MSDN的。。。IsPaneOpenRead/writeGets or ...

【Win10 开发】关于汉堡菜单

SplitView(汉堡菜单)是get='_blank'>win10新加的一种控件,顾名思义,其实就是将视图分割成两部分,废话不多说,下面来介绍一下SplitView的基本用法。

首先介绍几个SplitView经常用到的属性。(我直接搬MSDN的。。。

IsPaneOpenRead/writeGets or sets a value that specifies whether the SplitView pane is expanded to its full width.
PaneBackgroundRead/writeGets or sets the Brush to apply to the background of the Pane area of the control.
CompactPaneLengthRead/writeGets or sets the width of the SplitView pane in its compact display mode.
OpenPaneLengthRead/writeGets or sets the width of the SplitView pane when it's fully expanded.
DisplayModeRead/writeGets of sets a value that specifies how the pane and content areas of a SplitView are shown.

 


DisplayMode就是控制SplitView的展开样式,有4个值,Overlay,Inline,CompactOverlay,CompactInline。具体效果可以自行编写查看。此例中pc版设置为CompactOverlay,mobile版设置为Overlay

原标题:【Win10 开发】关于汉堡菜单

关键词:win

win
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。