ListViewItemEventArgs(ListViewItem) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |