RibbonContextMenu.IsItemItsOwnContainerOverride(Object) Method

Definition

Devuelve un valor que indica si el elemento especificado es (o puede ser) su propio contenedor.Returns a value that indicates whether the specified item is (or is eligible to be) its own container.

protected:
 override bool IsItemItsOwnContainerOverride(System::Object ^ item);
protected override bool IsItemItsOwnContainerOverride (object item);
override this.IsItemItsOwnContainerOverride : obj -> bool
Protected Overrides Function IsItemItsOwnContainerOverride (item As Object) As Boolean

Parameters

item
Object

El elemento en el que se va a comprobar.The item to test.

Returns

Boolean

Es true si el elemento es RibbonMenuItem, RibbonSeparator o RibbonGallery; de lo contrario, false.true if the item is a RibbonMenuItem, a RibbonSeparator, or a RibbonGallery; otherwise, false.

Applies to