GridView::PrepareItem Method (ListViewItem^)

 

Prepares a ListViewItem for display according to the definition of this GridView object.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public protected:
virtual void PrepareItem(
	ListViewItem^ item
) override

Parameters

item
Type: System.Windows.Controls::ListViewItem^

The ListViewItem to display.

This method can be used to apply styles, to set data bindings, and to attach a column collection to the ListViewItem.

.NET Framework
Available since 3.0
Return to top
Show: