RibbonContextMenu.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Prepara el elemento especificado para visualizar el elemento especificado.Prepares the specified element to display the specified item.

protected:
 override void PrepareContainerForItemOverride(System::Windows::DependencyObject ^ element, System::Object ^ item);
protected override void PrepareContainerForItemOverride (System.Windows.DependencyObject element, object item);
override this.PrepareContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
Protected Overrides Sub PrepareContainerForItemOverride (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.

Applies to