RibbonContextMenu.ClearContainerForItemOverride(DependencyObject, Object) Method

Definition

Descarga el contenedor para el elemento especificado.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

El elemento que se utiliza para mostrar el elemento.The element that is used to display the item.

item
Object

El elemento que se mostrará de la colección Items.The item to display from the Items collection.

Remarks

Este método deshace los efectos del método PrepareContainerForItemOverride.This method undoes the effects of the PrepareContainerForItemOverride method.

Applies to