Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft