Επεξεργασία

Κοινή χρήση μέσω


ListViewInsertEventArgs.Item Property

Definition

Gets a ListViewItem object that represents the data item to be inserted.

public:
 property System::Web::UI::WebControls::ListViewItem ^ Item { System::Web::UI::WebControls::ListViewItem ^ get(); };
public System.Web.UI.WebControls.ListViewItem Item { get; }
member this.Item : System.Web.UI.WebControls.ListViewItem
Public ReadOnly Property Item As ListViewItem

Property Value

The data item to be inserted.

Remarks

Use the Item property to access the item from the ListView control for the data that is being inserted. For example, you can access values from controls in the InsertItemTemplate template that are not data-bound by using the Item property. To do so, use the FindControl method of the ListViewItem object that is referenced by the Item property.

Applies to

See also