Ribbon.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
- item
Type: System.Object
The item to test.
Return Value
Type: System.Boolean
true if the item is a RibbonTab; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.