バージョン

ScrollbarStyle 列挙体

スクロールバー表示のオプションをリストする列挙体。
シンタックス
'宣言
 
Public Enum ScrollbarStyle 
   Inherits System.Enum
public enum ScrollbarStyle : System.Enum 
メンバ
メンバ解説
Alwaysスクロールバーは常に表示されます。
Automatic自動 - スクロールバーの表示/非表示がコントロールによって決定されます。
Neverスクロールバーは表示されません。
使用例
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;
		}
参照