Version

Enabled Property (UltraExplorerBarGroup)

Returns/sets the enabled status of the UltraExplorerBarGroup.
Syntax
'Declaration
 
Public Property Enabled As Boolean
public bool Enabled {get; set;}
Example
The following code iterates through all the Groups in the control and counts up the number of disabled groups.

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());
		}
Requirements

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

See Also