Back to Devexpress

NavBarViewBase.ActiveGroupChanging Event

wpf-devexpress-dot-xpf-dot-navbar-dot-navbarviewbase-c3a4c7ec.md

latest4.6 KB
Original Source

NavBarViewBase.ActiveGroupChanging Event

Fires before the active group is changed.

Namespace : DevExpress.Xpf.NavBar

Assembly : DevExpress.Xpf.NavBar.v25.2.dll

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public event NavBarActiveGroupChangingEventHandler ActiveGroupChanging
vb
Public Event ActiveGroupChanging As NavBarActiveGroupChangingEventHandler

Event Data

The ActiveGroupChanging event's data class is NavBarActiveGroupChangingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the operation which raised an event should be canceled.
HandledGets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
NewGroupGets a group object that is going to be activated.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
PrevGroupGets the previously activated group.
RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
SourceGets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

The event data class exposes the following methods:

MethodDescription
InvokeEventHandler(Delegate, Object)When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
OnSetSource(Object)When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.

Remarks

The ActiveGroupChanging event occurs when the active group is going to be changed within the NavBarControl. This event allows you to cancel active group changing, if required.

See Also

ActiveGroupChanged

NavBarViewBase Class

NavBarViewBase Members

DevExpress.Xpf.NavBar Namespace