コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MvxPanelPresentationAttribute"/> class.
 /// </summary>
 /// <param name="panel">The panel.</param>
 /// <param name="hintType">Type of the hint.</param>
 /// <param name="showPanel">if set to <c>true</c> [show panel].</param>
 public MvxPanelPresentationAttribute(MvxPanelEnum panel, MvxPanelHintType hintType, bool showPanel, MvxSplitViewBehaviour behaviour = MvxSplitViewBehaviour.None)
 {
     Panel              = panel;
     ShowPanel          = showPanel;
     HintType           = hintType;
     SplitViewBehaviour = behaviour;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MvxPanelPresentationAttribute"/> class.
 /// </summary>
 /// <param name="panel">The panel.</param>
 /// <param name="hintType">Type of the hint.</param>
 /// <param name="showPanel">if set to <c>true</c> [show panel].</param>
 /// <param name="behaviour">The splitview behaviour value</param>
 public MvxPanelPresentationAttribute(MvxPanelEnum panel, MvxPanelHintType hintType, bool showPanel, MvxSplitViewBehaviour behaviour = MvxSplitViewBehaviour.None)
 {
     Panel = panel;
     ShowPanel = showPanel;
     HintType = hintType;
     SplitViewBehaviour = behaviour;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MvxSidebarPresentationAttribute"/> class.
 /// </summary>
 /// <param name="panel">The panel.</param>
 /// <param name="hintType">Type of the hint.</param>
 /// <param name="showPanel">if set to <c>true</c> [show panel].</param>
 /// <param name="behaviour">The splitview behaviour value</param>
 /// <param name="animated">if set to <c>true</c> animate the View Controller.</param>
 public MvxSidebarPresentationAttribute(MvxPanelEnum panel, MvxPanelHintType hintType, bool showPanel, MvxSplitViewBehaviour behaviour = MvxSplitViewBehaviour.None, bool animated = true)
 {
     Panel              = panel;
     ShowPanel          = showPanel;
     HintType           = hintType;
     SplitViewBehaviour = behaviour;
     Animated           = animated;
 }