Modifier

Partager via


ItemsControl.ClearContainerForItemOverride(DependencyObject, Object) Method

Definition

When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride(DependencyObject, Object) method.

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

Parameters

element
DependencyObject

The container element.

item
Object

The item.

Remarks

The base implementation does nothing.

Applies to

See also