Custom Selection Stack Mode of KetticPageView
The Stack view mode of KetticPageView provides flexible customization support on stack selection of the control. It is able to display the content of the chosen item above or next to the stack based on the stack orientation. The Stack view mode contains various orientations to position the stack items based on the content area, which will be positioned by the selection mode based on the chosen items. The users of the KetticPageView control are able to show the content next or top of the stack items, or next to the chosen item.
Stack Selection Modes of KetticPageView Support
The Stack View mode of KetticPageView component offers three different selection modes, the Standard mode, the SelectContent mode and the SelectedContent mode. The Standard mode is the default setting. These modes could position the content area based on the chosen items.
Customize Stack Selection Modes using C# code
When we want to set the stack selection mode of KetticPageView, we shall use the SelectItemMode property of KetticPageViewStackElement. In the example below, the KetticPageView control ViewElement property will return a reference to the main element of the current view in the control. We should set the ViewMode of the control to a specific view type which represents the element casted by the ViewElement. The C# code below shows how to customize the stack selection mode for the page views.
| ![]() UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPage View - StripViewScrolling and OverflowNew ItemPage View - OutlookViewOverflow GripOverflow MenuPage View - ExplorerBarViewCustomizationPage View - StackViewSelection ModeStack PositionPage View - BackStageViewCustomizationPage View - Add PagesPage View - LocalizationPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |