ListViewItemEventArgs(ListViewItem) Constructor

Definition

Initializes a new instance of the ListViewItemEventArgs class.

public:
 ListViewItemEventArgs(System::Web::UI::WebControls::ListViewItem ^ item);
public ListViewItemEventArgs (System.Web.UI.WebControls.ListViewItem item);
new System.Web.UI.WebControls.ListViewItemEventArgs : System.Web.UI.WebControls.ListViewItem -> System.Web.UI.WebControls.ListViewItemEventArgs
Public Sub New (item As ListViewItem)

Parameters

item
ListViewItem

The item being created or data-bound.

Remarks

Use this constructor to initialize a new instance of the ListViewItemEventArgs class.

Note

This constructor is primarily used by control developers when they raise events.

The following table shows the initial property value for an instance of the ListViewItemEventArgs class.

Property Initial value
Item The ListViewItem object that is contained in the item parameter.

Applies to

See also