NetXP 3.0 Reference

ListBar.AfterLabelEdit Event

Raised after an item's label has been edited in the ListBar control. Allows the new caption to be checked and the edit cancelled.

[Visual Basic]
Public Event AfterLabelEdit As ListBarLabelEditEventHandler
[C#]
public event ListBarLabelEditEventHandler AfterLabelEdit;

Event Data

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

PropertyDescription
CancelEditGets or sets a value indicating whether changes made to the label of the should be canceled.
ItemGets the zero-based index of the containing the label to edit.
Label Gets the new text assigned to the label of the .
LabelEditObject Returns the object for which label editing has been requested. Can either be a or a (or a subclass of either).

See Also

ListBar Class | NETXP.Controls.Bars Namespace