Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MenuItem.IsItemItsOwnContainerOverride Method (Object)

 

Determines if the specified item is (or is eligible to be) its own ItemContainer.

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

protected override bool IsItemItsOwnContainerOverride(
	object item
)

Parameters

item
Type: System.Object

Specified item.

Return Value

Type: System.Boolean

true if the item is its own ItemContainer; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft