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:
virtual bool IsItemItsOwnContainerOverride(
	Object^ item
) override

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: