NetXP 3.0 Reference

ListBar.BeforeSelectedGroupChanged Event

Raised before the selected group in the ListBar control is changed. Allows the group selection to be cancelled.

[Visual Basic]
Public Event BeforeSelectedGroupChanged As BeforeGroupChangedEventHandler
[C#]
public event BeforeGroupChangedEventHandler BeforeSelectedGroupChanged;

Event Data

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

PropertyDescription
Cancel Gets/sets whether the group selection should be cancelled or not. By default the group selection is not cancelled.
Group Gets the group that will be selected.

See Also

ListBar Class | NETXP.Controls.Bars Namespace