PrepareItem Method

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


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
© 2015 Microsoft