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