'Declaration Public Event LocationExpanding As LocationExpandingHandler
public event LocationExpandingHandler LocationExpanding
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.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
Location | Returns a reference to the Infragistics.Win.Misc.UltraNavigationBarLocation that is about to be expanded. |
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.
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