編輯

共用方式為


RibbonTab.ClearContainerForItemOverride(DependencyObject, Object) Method

Definition

Unloads the container for the specified item.

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 element that is used to display the item.

item
Object

The item to display from the Items collection.

Remarks

This method undoes the effects of the PrepareContainerForItemOverride method.

Applies to