バージョン

Enabled プロパティ (UltraExplorerBarGroup)

UltraExplorerBarGroup の Enabled ステータスを取得または設定します。
シンタックス
'宣言
 
Public Property Enabled As Boolean
public bool Enabled {get; set;}
使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button28_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button28.Click

		' Count the number of disabled groups and display the result.
		Dim totalDisabledGroups As Integer = 0
		Dim group As UltraExplorerBarGroup

		For Each group In Me.ultraExplorerBar1.Groups
			If (group.Enabled = False) Then
				totalDisabledGroups += 1
			End If
		Next

		Debug.WriteLine("The total number of disable Groups is: " + totalDisabledGroups.ToString())

	End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinExplorerBar;


		private void button28_Click(object sender, System.EventArgs e)
		{
			// Count the number of disabled groups and display the result.
			int totalDisabledGroups = 0;

			foreach(UltraExplorerBarGroup group in this.ultraExplorerBar1.Groups)
			{
				if (group.Enabled == false)
					totalDisabledGroups++;
			}

			Debug.WriteLine("The total number of disable Groups is: " + totalDisabledGroups.ToString());
		}
参照