Scrolling and Overflow (strip buttons)
The StripButtons property of RadPageView in PageViewMode.Strip allows the user to scroll or get a drop down list of the tabs that overflow the available space. There is also a close button which, when pressed, closes the currently selected page. The StripButtons property is available at PadPageViewStripElement which can be accessed through the ViewElement property when RadPageView is in Strip mode, for example:
Accessing the StripButtons property
RadPageViewStripElement stripElement = (RadPageViewStripElement)this.radPageView1.ViewElement;
stripElement.StripButtons = StripViewButtons.All;
Dim stripElement As RadPageViewStripElement = DirectCast(Me.radPageView1.ViewElement, RadPageViewStripElement)
stripElement.StripButtons = StripViewButtons.All
PageViewMode.Strip supports the following StripButtons modes:
- All. When this option is selected, RadPageView will display all the available strip buttons - left scroll button, right scroll button, overflow button and close button:
- LeftScroll. This option displays only the left scroll button:
- RightScroll. This option displays only the right scroll button:
- Scroll. Display both left and right scroll buttons:
- Close. Displays only the close strip button.
- VS2005Style: Displays both scroll buttons and the close button:
- ItemList. Displays a drop-down button that invokes a drop-down list of the items:
- VS2008Style. Displays the item list drop-down button and the close button.
- None. Displays no strip buttons: