ListView::ClearContainerForItemOverride Method (DependencyObject^, Object^)

 

Removes all templates, styles, and bindings for the object that is displayed as a ListViewItem.

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

protected:
virtual void ClearContainerForItemOverride(
	DependencyObject^ element,
	Object^ item
) override

Parameters

element
Type: System.Windows::DependencyObject^

The ListViewItem container to clear.

item
Type: System::Object^

The object that the ListViewItem contains.

.NET Framework
Available since 3.0
Return to top
Show: