MenuBase.IsItemItsOwnContainerOverride Method (Object)

 

Determines whether the specified item is, or is eligible to be, its own item container.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override bool IsItemItsOwnContainerOverride(
	object item
)

Parameters

item
Type: System.Object

The item to check whether it is an item container.

Return Value

Type: System.Boolean

true if the item is a MenuItem or a Separator; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: