Version

LocationExpanding Event

Occurs before the dropdown list which displays the visible members of a UltraNavigationBarLocation.Locations collection is displayed.
Syntax
'Declaration
 
Public Event LocationExpanding As LocationExpandingHandler
public event LocationExpandingHandler LocationExpanding
Event Data

The event handler receives an argument of type LocationExpandingEventArgs containing data related to this event. The following LocationExpandingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
Location Returns a reference to the Infragistics.Win.Misc.UltraNavigationBarLocation that is about to be expanded.
Remarks

When the end user clicks the LocationDropDownButtonUIElement, the associated UltraNavigationBarLocation enters the expanded state; the LocationExpanding event fires, and if the event is not canceled, a dropdown list appears, which contains the visible members of the location's UltraNavigationBarLocation.Locations collection. During the period of time for which this dropdown is visible, a reference to that location is returned from the ExpandedLocation property.

The LocationExpanding event also fires when an UltraNavigationBarLocation is programmatically expanded, i.e., when a reference to it is assigned to the ExpandedLocation property.

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