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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: