'Declaration Public Enum ScrollbarStyle Inherits System.Enum
public enum ScrollbarStyle : System.Enum
Member | Description |
---|---|
Always | Scrollbars are always displayed. |
Automatic | Automatic - control determines when the scrollbar needs to be displayed/hidden. |
Never | Scrollbars are never displayed. |
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button12.Click ' Set the scrollbar style to 'Always' so that the scrollbar always shows. This will ' eliminate the 'jumpiness' that occurs if Scrollbars are set to automatic. When set ' to Automatic the scrollbars are appear/disappears based on whether they are needed ' which causes the groups in the control to shift slightly. ' ' Note that the Scrollbars property only has meaning of the control style is ExplorerBar. If (Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.ExplorerBar) Then Me.ultraExplorerBar1.Scrollbars = ScrollbarStyle.Always End If End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button12_Click(object sender, System.EventArgs e) { // Set the scrollbar style to 'Always' so that the scrollbar always shows. This will // eliminate the 'jumpiness' that occurs if Scrollbars are set to automatic. When set // to Automatic the scrollbars are appear/disappears based on whether they are needed // which causes the groups in the control to shift slightly. // // Note that the Scrollbars property only has meaning of the control style is ExplorerBar. if (this.ultraExplorerBar1.Style == UltraExplorerBarStyle.ExplorerBar) this.ultraExplorerBar1.Scrollbars = ScrollbarStyle.Always; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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