Skip to main content
Version: 4.1

LabelEditEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the BeforeLabelEdit and AfterLabelEdit events.

public class LabelEditEventArgs : EventArgs

Constructors​

Instance member LabelEditEventArgs(item)​

Initializes a new instance of the LabelEditEventArgs class with the specified index to the ListViewItem to edit or edited.

NameTypeDescription
itemListViewItemThe ListViewItem, containing the label to edit.

Instance member LabelEditEventArgs(item, label)​

Initializes a new instance of the LabelEditEventArgs class with the specified index to the ListViewItem being edited and the new text for the label of the ListViewItem.

NameTypeDescription
itemListViewItemThe ListViewItem, containing the label to edit.
labelStringThe new text assigned to the label of the ListViewItem.

Properties​

Instance member CancelEdit​

Boolean: Returns or sets whether changes made to the label of the ListViewItem should be canceled.

Value: true if the edit operation of the label for the ListViewItem should be canceled; otherwise false.

Instance member Item​

ListViewItem: Returns the ListViewItem containing the label to edit or edited.

Value: The ListViewItem containing the label.

Instance member Label​

String: Returns the new text assigned to the label of the ListViewItem.

Value: The new text to associate with the ListViewItem or null if the text is unchanged.

Used By​

NameDescription
LabelEditEventHandlerRepresents the method that handles the BeforeLabelEdit and AfterLabelEdit events.