Dela via


RibbonMenuItem.IsItemItsOwnContainerOverride Method

Returns a value that indicates whether the specified item is (or is eligible to be) its own container.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Function IsItemItsOwnContainerOverride ( _
    item As Object _
) As Boolean
protected override bool IsItemItsOwnContainerOverride(
    Object item
)
protected:
virtual bool IsItemItsOwnContainerOverride(
    Object^ item
) override
abstract IsItemItsOwnContainerOverride : 
        item:Object -> bool 
override IsItemItsOwnContainerOverride : 
        item:Object -> bool 
protected override function IsItemItsOwnContainerOverride(
    item : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the item is a RibbonGallery, a RibbonMenuItem, or a RibbonSeparator; otherwise, false.

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace