NetXP 3.0 Reference

ListBar.BeforeItemClicked Event

Raised before an item in a ListBar control is clicked. Allows the item selection to be cancelled.

[Visual Basic]
Public Event BeforeItemClicked As BeforeItemClickedEventHandler
[C#]
public event BeforeItemClickedEventHandler BeforeItemClicked;

Event Data

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

PropertyDescription
Cancel Gets/sets whether the click should be cancelled or not.
Item Gets the ListBarItem that is about to be clicked.

See Also

ListBar Class | NETXP.Controls.Bars Namespace