RibbonGalleryCategory.ClearContainerForItemOverride 方法

定义

为指定项卸载容器。

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)

参数

element
DependencyObject

用于显示项的元素。

item
Object

要从 Items 集合中显示的项。

注解

此方法撤消该方法的效果 PrepareContainerForItemOverride

适用于