| Visual Basic (Declaration) | |
|---|---|
Public Property AllowScrolling As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebTab Dim value As Boolean instance.AllowScrolling = value value = instance.AllowScrolling | |
| C# | |
|---|---|
public bool AllowScrolling {get; set;} | |
WebTab allows you to create a lot of tab items which might exceed the boundary of the Tab control itself. You can achieve the scenario by simply setting the AllowScrolling property to True. When you set this property to True, a Left and Right arrow will appear at the right end of the Tab control.
The AllowScrolling feature worked in conjunction with Automatic Resizing, that is the arrows will appear as "disabled" when there are no items exceeding the Tab width boundary. However, when later user resized the browser window which cause the Tab control to be smaller than available items, the WebTab will automatically enable the Scroll arrows. Furthermore, any active tab which set from either codes or invoked by keyboard keys will be scrolled into view automatically.
You can customize the Text and Image for the Scroll Arrows in TextSettings and ImagesSettings.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
WebTab ClassWebTab Members
Tasks
Configuring Scrolling Tab modeConcepts
Understanding Tab ConceptsWebTab Features