バージョン

Scrollbars プロパティ

コントロールにスクロールバーがいつ表示されるかを決定する値を取得または設定します。
シンタックス
'宣言
 
Public Property Scrollbars As ScrollbarStyle
public ScrollbarStyle Scrollbars {get; set;}
解説

このプロパティは、コントロールスタイルが「0 - Explorer」の場合のみ意味があります。

使用例
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;
		}
参照