Skip to main content
Version: 3.5

LabelEditEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the BeforeLabelEdit and AfterLabelEdit events.

public class LabelEditEventArgs : EventArgs

Constructors

Instance memberLabelEditEventArgs(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 memberLabelEditEventArgs(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 memberCancelEdit

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

Instance memberItem

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

Instance memberLabel

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

Used By

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