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 Design
WinForms UI Controls