'Declaration Public Enum UltraExplorerBarStates Inherits System.Enum
public enum UltraExplorerBarStates : System.Enum
Member | Description |
---|---|
ActivateableGroupOrItemExists | An activateable group or item exists |
ActiveGroupExists | Active Group exists |
ActiveGroupExpanded | Active Group expanded |
ActiveGroupInOverflowArea | The ActiveGroup is in the NavigationOverflowButtonArea. |
ActiveGroupIsFirstActivateableOverflowGroup | The Active Group is the first ActivateableGroup in the NavigationOverflowButtonArea. |
ActiveGroupIsFirstGroup | Active Group is first Group |
ActiveGroupIsLastActivateableGroup | The ActiveGroup is the last ActivateableGroup. |
ActiveGroupIsLastGroup | Active Group is last Group |
ActiveGroupIsSelected | Active Group is Selected |
ActiveGroupOrItemExists | Active Group or Item exists |
ActiveGroupOrItemIsEditable | Active Group or Item can be edited via the user interface. |
ActiveGroupOrItemIsFirst | Active Group or Item is first |
ActiveGroupOrItemIsFirstCurrentlyVisibleGroupOrItem | Active Group or Item is the first currently visible Group or Item |
ActiveGroupOrItemIsLast | Active Group or Item is last |
ActiveGroupOrItemIsLastCurrentlyVisibleGroupOrItem | Active Group or Item is the last currently visible Group or Item |
ActiveItemExists | Active Item exists |
ActiveItemIsFirstCurrentlyVisibleItemInGroup | Active Item is first currently visible Item in Group |
ActiveItemIsFirstItemInGroup | Active Item is first Item in Group |
ActiveItemIsInFirstGroup | Active Item is in the First Group |
ActiveItemIsInLastGroup | Active Item is in the last Group |
ActiveItemIsLastCurrentlyVisibleItemInGroup | Active Item is last currently visible Item in Group |
ActiveItemIsLastItemInGroup | Active Item is last Item in Group |
ActiveItemIsStateButton | The style of the current ActiveItem resolves to 'StateButton' |
CanTabNextFromActiveGroupOrItem | Can perform tab next from the active group or item |
CanTabPreviousFromActiveGroupOrItem | Can perform tab previous from the active group or item |
ExplorerBarMode | ExplorerBar mode |
GroupFollowingActiveGroupExpanded | Group following the Active Group is expanded |
GroupFollowingActiveItemGroupExpanded | Group following the Active Item's Group is expanded |
GroupPreceedingActiveGroupExpanded | Group preceeding the Active Group is expanded |
GroupPreceedingActiveGroupSelected | Group preceeding the Active Group is selected |
GroupPreceedingActiveItemGroupExpanded | Group preceeding the Active Item's Group is expanded |
InEditMode | In edit mode |
IsMultiColumn | Last Group is selected |
LastGroupIsSelected | Last Group is selected |
ListbarMode | Listbar mode |
NavigationPaneFlyoutVisible | The navigation pane flyout is currently open. |
OutlookNavigationPaneMode | OutlookNavigationPane mode |
QuickCustomizeButtonActive | The QuickCustomizeButton in the NavigationOverflowButtonArea is active |
VisibleGroupExists | Visible Group exists |
VisualStudio2005ToolboxMode | VisualStudio2005ToolboxMode |
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button10.Click ' Add a key action mapping that will activate the first group in the control when the ' F3 key is pressed, but only when the control style is ExplorerBar and the control is ' not currently editing a Group or Item name. Dim myKeyActionMapping As UltraExplorerBarKeyActionMapping = _ New UltraExplorerBarKeyActionMapping(Keys.F3, _ UltraExplorerBarAction.ActivateFirstGroup, _ UltraExplorerBarStates.ActiveGroupIsFirstGroup Or UltraExplorerBarStates.InEditMode, _ UltraExplorerBarStates.ExplorerBarMode, _ 0, _ 0) Me.ultraExplorerBar1.KeyActionMappings.Add(myKeyActionMapping) ' Find the any keyaction mappings that invoke the ActivateLastGroup action and add disallowed ' and required states. Dim keyActionMapping As UltraExplorerBarKeyActionMapping For Each keyActionMapping In Me.ultraExplorerBar1.KeyActionMappings If (keyActionMapping.ActionCode = UltraExplorerBarAction.ActivateLastGroup) Then keyActionMapping.StateDisallowed = keyActionMapping.StateDisallowed Or UltraExplorerBarStates.ListbarMode keyActionMapping.StateRequired = keyActionMapping.StateRequired Or UltraExplorerBarStates.ActiveItemIsFirstItemInGroup End If Next End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button10_Click(object sender, System.EventArgs e) { // Add a key action mapping that will activate the first group in the control when the // F3 key is pressed, but only when the control style is ExplorerBar and the control is // not currently editing a Group or Item name. UltraExplorerBarKeyActionMapping myKeyActionMapping = new UltraExplorerBarKeyActionMapping(Keys.F3, UltraExplorerBarAction.ActivateFirstGroup, UltraExplorerBarStates.ActiveGroupIsFirstGroup | UltraExplorerBarStates.InEditMode, UltraExplorerBarStates.ExplorerBarMode, 0, 0); this.ultraExplorerBar1.KeyActionMappings.Add(myKeyActionMapping); // Find the any keyaction mappings that invoke the ActivateLastGroup action and add disallowed // and required states. foreach(UltraExplorerBarKeyActionMapping keyActionMapping in this.ultraExplorerBar1.KeyActionMappings) { if (keyActionMapping.ActionCode == UltraExplorerBarAction.ActivateLastGroup) { keyActionMapping.StateDisallowed |= UltraExplorerBarStates.ListbarMode; keyActionMapping.StateRequired |= UltraExplorerBarStates.ActiveItemIsFirstItemInGroup; } } }
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