RibbonApplicationMenuItem.IsItemItsOwnContainerOverride Method (Object)

.NET Framework (current version)

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

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override bool IsItemItsOwnContainerOverride(
	object item


Type: System.Object

The item to test.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 4.5
Return to top