ItemsControl.ClearContainerForItemOverride(DependencyObject, Object) 方法

定义

当在派生类中重写时,撤消 PrepareContainerForItemOverride(DependencyObject, Object) 方法的效果。

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)

参数

element
DependencyObject

容器元素。

item
Object

项。

注解

基本实现不执行任何作用。

适用于

另请参阅