Edytuj

Udostępnij za pośrednictwem


RibbonContextMenu.IsItemItsOwnContainerOverride(Object) Method

Definition

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

The item to test.

Returns

true if the item is a RibbonMenuItem, a RibbonSeparator, or a RibbonGallery; otherwise, false.

Applies to