'Declaration Public Enum UltraExplorerBarEventIds Inherits System.Enum
public enum UltraExplorerBarEventIds : System.Enum
Member | Description |
---|---|
ActiveGroupChanged | Event ID that identifies the UltraExplorerBar.ActiveGroupChanged event. |
ActiveGroupChanging | Event ID that identifies the UltraExplorerBar.ActiveGroupChanging event. |
ActiveItemChanged | Event ID that identifies the UltraExplorerBar.ActiveItemChanged event. |
ActiveItemChanging | Event ID that identifies the UltraExplorerBar.ActiveItemChanging event. |
ContextMenuInitializing | Event ID that identifies the UltraExplorerBar.ContextMenuInitializing event. |
GestureCompleted | The GestureCompleted event. |
GestureQueryStatus | The GestureQueryStatus event. |
GestureStarting | The GestureStarting event. |
GroupAdded | Event ID that identifies the UltraExplorerBar.GroupAdded event. |
GroupAdding | Event ID that identifies the UltraExplorerBar.GroupAdding event. |
GroupClick | Event ID that identifies the UltraExplorerBar.GroupClick event. |
GroupCollapsed | Event ID that identifies the UltraExplorerBar.GroupCollapsed event. |
GroupCollapsing | Event ID that identifies the UltraExplorerBar.GroupCollapsing event. |
GroupDragging | Event ID that identifies the UltraExplorerBar.GroupDragging event. |
GroupDragOver | Event ID that identifies the UltraExplorerBar.GroupDragOver event. |
GroupDropped | Event ID that identifies the UltraExplorerBar.GroupDropped event. |
GroupEnteredEditMode | Event ID that identifies the UltraExplorerBar.GroupEnteredEditMode event. |
GroupEnteringEditMode | Event ID that identifies the UltraExplorerBar.GroupEnteringEditMode event. |
GroupExitedEditMode | Event ID that identifies the UltraExplorerBar.GroupExitedEditMode event. |
GroupExitingEditMode | Event ID that identifies the UltraExplorerBar.GroupExitingEditMode event. |
GroupExpanded | Event ID that identifies the UltraExplorerBar.GroupExpanded event. |
GroupExpanding | Event ID that identifies the UltraExplorerBar.GroupExpanding event. |
GroupRemoved | Event ID that identifies the UltraExplorerBar.GroupRemoved event. |
GroupRemoving | Event ID that identifies the UltraExplorerBar.GroupRemoving event. |
ItemAdded | Event ID that identifies the UltraExplorerBar.ItemAdded event. |
ItemAdding | Event ID that identifies the UltraExplorerBar.ItemAdding event. |
ItemCheckStateChanged | Event ID that identifies the UltraExplorerBar.ItemCheckStateChanged event. |
ItemCheckStateChanging | Event ID that identifies the UltraExplorerBar.ItemCheckStateChanging event. |
ItemClick | Event ID that identifies the UltraExplorerBar.ItemClick event. |
ItemDoubleClick | Event ID that identifies the UltraExplorerBar.ItemDoubleClick event. |
ItemDragging | Event ID that identifies the UltraExplorerBar.ItemDragging event. |
ItemDragOver | Event ID that identifies the UltraExplorerBar.ItemDragOver event. |
ItemDropped | Event ID that identifies the UltraExplorerBar.ItemDropped event. |
ItemEnteredEditMode | Event ID that identifies the UltraExplorerBar.ItemEnteredEditMode event. |
ItemEnteringEditMode | Event ID that identifies the UltraExplorerBar.ItemEnteringEditMode event. |
ItemExitedEditMode | Event ID that identifies the UltraExplorerBar.ItemExitedEditMode event. |
ItemExitingEditMode | Event ID that identifies the UltraExplorerBar.ItemExitingEditMode event. |
ItemRemoved | Event ID that identifies the UltraExplorerBar.ItemRemoved event. |
ItemRemoving | Event ID that identifies the UltraExplorerBar.ItemRemoving event. |
MouseEnterElement | Event ID that identifies the Infragistics.Win.UltraControlBase.MouseEnterElement event. |
MouseLeaveElement | Event ID that identifies the Infragistics.Win.UltraControlBase.MouseLeaveElement event. |
NavigationContextMenuInitializing | Event ID that identifies the UltraExplorerBar.NavigationContextMenuInitializing event. |
NavigationOptionsDialogDisplaying | Event ID that identifies the UltraExplorerBar.NavigationOptionsDialogDisplaying event. |
NavigationPaneCollapsed | Event ID that identifies the UltraExplorerBar.NavigationPaneCollapsed event. |
NavigationPaneCollapsing | Event ID that identifies the UltraExplorerBar.NavigationPaneCollapsing event. |
NavigationPaneExpanded | Event ID that identifies the UltraExplorerBar.NavigationPaneExpanded event. |
NavigationPaneExpanding | Event ID that identifies the UltraExplorerBar.NavigationPaneExpanding event. |
NavigationPaneFlyoutClosed | Event ID that identifies the UltraExplorerBar.NavigationPaneFlyoutClosed event. |
NavigationPaneFlyoutDisplayed | Event ID that identifies the UltraExplorerBar.NavigationPaneFlyoutDisplayed event. |
NavigationPaneFlyoutDisplaying | Event ID that identifies the UltraExplorerBar.NavigationPaneFlyoutDisplaying event. |
OpenInNewWindow | Event ID that identifies the UltraExplorerBar.OpenInNewWindow event. |
PanGesture | The PanGesture event. |
PressAndHoldGesture | The PressAndHoldGesture event. |
PressAndTapGesture | The PressAndTapGesture event. |
RotateGesture | The RotateGesture event. |
SelectedGroupChanged | Event ID that identifies the UltraExplorerBar.SelectedGroupChanged event. |
SelectedGroupChanging | Event ID that identifies the UltraExplorerBar.SelectedGroupChanging event. |
TwoFingerTapGesture | The TwoFingerTapGesture event. |
ZoomGesture | The ZoomGesture event. |
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub button94_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button94.Click ' Get UltraExplorerBar's event manager. ' ' The event manager is used to temporarily disable events ' to prevent them from being raised. This can be very ' convenient in a situation where one or more properties ' are being set in code and the events they would normally ' raise would cause unnecessary or counter-productive ' code to be executed. ' ' Note: All events are enabled by default. Dim eventManager As UltraExplorerBarEventManager = Me.ultraExplorerBar1.EventManager ' Disable the ActiveGroupChanged/ActiveGroupChanging events eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanged, False) eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanging, False) ' The event manager exposes an 'IsEnabled' method to see if an event ' is enabled or disbled. Display the enabled status of the ' ActiveGroupChanged/ActiveGroupChanging events to verify that they are disabled. Debug.WriteLine(String.Format("IsEnabled returns '{0}' for the ActiveGroupChanged event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanged).ToString())) Debug.WriteLine(String.Format("IsEnabled returns '{0}' for the ActiveGroupChanging event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanging).ToString())) ' Re-enable the ActiveGroupChanged/ActiveGroupChanging events eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanging, True) eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanged, True) ' Display the enabled status of the ActiveGroupChanged/ActiveGroupChanging events ' to verif that they have been re-enabled. Debug.WriteLine(String.Format("IsEnabled returns '{0}' for the ActiveGroupChanged event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanged).ToString())) Debug.WriteLine(String.Format("IsEnabled returns '{0}' for the ActiveGroupChanging event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanging).ToString())) ' The 'AllEventsEnabled' property lets you enable/disable ' all events will a single line of code. If any event is ' disabled the 'AllEventsEnabled' property returns false. If (eventManager.AllEventsEnabled = False) Then eventManager.AllEventsEnabled = True End If ' The event manager also exposes overloaded ' 'IsEnabled' and 'SetEnabled' methods that take an ' event group so that, for example all 'before' or all ' 'after' events can be enabled/disabled. If any event ' in the group is disabled the 'IsEnabled' method returns ' false. eventManager.SetEnabled(UltraExplorerBarEventGroups.AfterEvents, False) Debug.WriteLine(String.Format("IsEnabled returns '{0}' for the 'before' events", eventManager.IsEnabled(UltraExplorerBarEventGroups.BeforeEvents).ToString())) Debug.WriteLine(String.Format("IsEnabled returns '{0}' for the 'after' events", eventManager.IsEnabled(UltraExplorerBarEventGroups.AfterEvents).ToString())) eventManager.SetEnabled(UltraExplorerBarEventGroups.AfterEvents, True) ' The 'InProgress' method will return true if the ' specified event is currently being raised. This ' is often helpful in methods that can be called ' from various points in an application to determine ' what is triggering the call. If (eventManager.InProgress(UltraExplorerBarEventIds.GroupAdding)) Then ' ... End If End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button94_Click(object sender, System.EventArgs e) { // Get UltraExplorerBar's event manager. // // The event manager is used to temporarily disable events // to prevent them from being raised. This can be very // convenient in a situation where one or more properties // are being set in code and the events they would normally // raise would cause unnecessary or counter-productive // code to be executed. // // Note: All events are enabled by default. UltraExplorerBarEventManager eventManager = this.ultraExplorerBar1.EventManager; // Disable the ActiveGroupChanged/ActiveGroupChanging events eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanged, false ); eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanging, false ); // The event manager exposes an 'IsEnabled' method to see if an event // is enabled or disbled. Display the enabled status of the // ActiveGroupChanged/ActiveGroupChanging events to verify that they are disabled. Debug.WriteLine(string.Format("IsEnabled returns '{0}' for the ActiveGroupChanged event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanged).ToString())); Debug.WriteLine(string.Format("IsEnabled returns '{0}' for the ActiveGroupChanging event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanging).ToString())); // Re-enable the ActiveGroupChanged/ActiveGroupChanging events eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanging, true ); eventManager.SetEnabled(UltraExplorerBarEventIds.ActiveGroupChanged, true ); // Display the enabled status of the ActiveGroupChanged/ActiveGroupChanging events // to verif that they have been re-enabled. Debug.WriteLine(string.Format("IsEnabled returns '{0}' for the ActiveGroupChanged event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanged).ToString())); Debug.WriteLine(string.Format("IsEnabled returns '{0}' for the ActiveGroupChanging event", eventManager.IsEnabled(UltraExplorerBarEventIds.ActiveGroupChanging).ToString())); // The 'AllEventsEnabled' property lets you enable/disable // all events will a single line of code. If any event is // disabled the 'AllEventsEnabled' property returns false. if (!eventManager.AllEventsEnabled ) eventManager.AllEventsEnabled = true; // The event manager also exposes overloaded // 'IsEnabled' and 'SetEnabled' methods that take an // event group so that, for example all 'before' or all // 'after' events can be enabled/disabled. If any event // in the group is disabled the 'IsEnabled' method returns // false. eventManager.SetEnabled(UltraExplorerBarEventGroups.AfterEvents, false); Debug.WriteLine(string.Format("IsEnabled returns '{0}' for the 'before' events", eventManager.IsEnabled(UltraExplorerBarEventGroups.BeforeEvents).ToString())); Debug.WriteLine(string.Format("IsEnabled returns '{0}' for the 'after' events", eventManager.IsEnabled(UltraExplorerBarEventGroups.AfterEvents).ToString())); eventManager.SetEnabled(UltraExplorerBarEventGroups.AfterEvents, true); // The 'InProgress' method will return true if the // specified event is currently being raised. This // is often helpful in methods that can be called // from various points in an application to determine // what is triggering the call. if (eventManager.InProgress(UltraExplorerBarEventIds.GroupAdding)) { // ... } }
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