C# ExplorerBarView Customizing
The ExplorerBar view mode of KetticPageView allows the users to easily customize the multiple pages at once. The ExplorerBar view mode of KetticPageView contains three different content size modes for the users to adjust the page size, and two stack positions to customize the stack position. Moreover, the users are able to expand or collapse a page, apply the explorer bar events, scroll the content when it exceeds the component edge, and use the keyboard navigation.
Customize Content Size using C# code
The ExplorerBar view mode of KetticPageView contains three different content size modes for the expanded pages, including FixedLength, AutoSizeToBestFit, and EqualLength.
To customize the size of the expanded pages, we shall switch to the ExplorerBar view mode, and returns an instance of the KetticPageViewExplorerBarElement C# class and cast it to the appropriate type and customize the ContentSizeMode property by using the C# code snippet as below.
Customize Stack Position of ExplorerBar View
The ExplorerBar mode of KetticPageView control is capable of two stack positions, Top and Left. The users of the KetticPageView component are able to set the explorer bar view either to top or left. Expand or Collapse Pages in ExplorerBar Mode
KetticPageView ExplorerBar View mode supports of expanding or collapsing a page by clicking on the item. The pages expanding and collapsing can also be accomplished by using C# code via setting the VisilizeContent property defined in the KetticPageViewPage C# class. The C# code below demonstrates how to enable this property.
C# Events of ExplorerBar View Mode
KetticPageView ExplorerBar mode contains four exclusive specific events that will be fired when changing the state of a page. The following are the details of the events.
Scroll Content in ExplorerBar View Mode
KetticPageView ExplorerBar mode provides the support of scrolling content. When the expanded content exceeds the bounds of the KetticPageView, a scroll bar will appear in the expanded pages.
KetticPageView ExplorerBar mode is able to scroll to a selected item. This is accomplished by using the ScrollToItem method, which is a part of the KetticPageViewExplorerBarElement C# API. To scroll a given item in C# code, we shall access the ScrollToItem method.
Keyboard Navigation of ExplorerBar View Mode
The ExplorerBar view mode of KetticPageView component offers the support of navigating items using arrow keys on the keyboard. When the users set the stack position to Top, they can use the Up and Down arrows to choose the previous and next item and use the Left and Right arrow keys to collapse and expand the chosen items. Contrarily, when setting the stack position to Left, they can use the Left and Right arrow keys to choose the previous and next item and use the Up and Down arrows to collapse and expand the chosen items. | ![]() 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 |