'Declaration Public Enum UltraExplorerBarStyle Inherits System.Enum
public enum UltraExplorerBarStyle : System.Enum
Member | Description |
---|---|
ExplorerBar | The UltraExplorerBar emulates the behavior of the Windows XP Explorer bar. Zero or more UltraExplorerBarGroups may be expanded. |
Listbar | The UltraExplorerBar emulates the behavior of the Outlook Listbar. 1 and only 1 UltraExplorerBarGroup may be expanded. |
OutlookNavigationPane | The UltraExplorerBar emulates the behavior of the Navigation Pane in Outlook 2003. 1 and only 1 UltraExplorerBarGroup may be expanded, and a special navigation area provides a UI for expanding other groups. |
Toolbox | The UltraExplorerBar emulates the behavior of the Visual Studio Toolbox. 1 and only 1 UltraExplorerBarGroup may be expanded and scrollbuttons (if required) appear in the UltraExplorerBarGroup header. |
VisualStudio2005Toolbox | The UltraExplorerBar emulates the behavior of the Visual Studio 2005 Toolbox. Zero or more UltraExplorerBarGroups may be expanded. |
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button13.Click ' Display the number of items in the currently selected group. Note that ' only control styles Listbar and Toolbox have the concept of SelectedGroup. If (Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.Listbar Or Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.Toolbox) Then If (Not Me.ultraExplorerBar1.SelectedGroup Is Nothing) Then Debug.WriteLine(String.Format("The Selected group contains {0} Items.", Me.ultraExplorerBar1.SelectedGroup.Items.Count)) End If End If End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button13_Click(object sender, System.EventArgs e) { // Display the number of items in the currently selected group. Note that // only control styles Listbar and Toolbox have the concept of SelectedGroup. if (this.ultraExplorerBar1.Style == UltraExplorerBarStyle.Listbar || this.ultraExplorerBar1.Style == UltraExplorerBarStyle.Toolbox) { if (this.ultraExplorerBar1.SelectedGroup != null) Debug.WriteLine(string.Format("The Selected group contains {0} Items.", this.ultraExplorerBar1.SelectedGroup.Items.Count)); } }
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