Version

ActiveLocationChanging Event

Occurs before the value of the ActiveLocation property is changed.
Syntax
'Declaration
 
Public Event ActiveLocationChanging As ActiveLocationChangingHandler
public event ActiveLocationChangingHandler ActiveLocationChanging
Event Data

The event handler receives an argument of type ActiveLocationChangingEventArgs containing data related to this event. The following ActiveLocationChangingEventArgs 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 become active, or null if the ActiveLocation property is about to be set to null.
Remarks

Note: Unlike most Infragistics controls, the UltraNavigationBar's ActiveLocation property changes when the cursor enters and exits the user interface elements associated with an UltraNavigationBarLocation. For this reason, the ActiveLocationChanging event can fire with a null Infragistics.Win.Misc.UltraWinNavigationBar.LocationEventArgs.Location under normal operation. Listeners of this event must check the value of the Location property of the event arguments for null before accessing it.

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