Bewerken

Delen via


ListView.ClearContainerForItemOverride(DependencyObject, Object) Method

Definition

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

protected:
 override void ClearContainerForItemOverride(System::Windows::DependencyObject ^ element, System::Object ^ item);
protected override void ClearContainerForItemOverride (System.Windows.DependencyObject element, object item);
override this.ClearContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
Protected Overrides Sub ClearContainerForItemOverride (element As DependencyObject, item As Object)

Parameters

element
DependencyObject

The ListViewItem container to clear.

item
Object

The object that the ListViewItem contains.

Applies to