ClearContainerForItemOverride Method

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 override void ClearContainerForItemOverride(
	DependencyObject element,
	object item
)

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