TreeView::IsItemItsOwnContainerOverride Method (Object^)

 

Determines whether the specified item is its own container or can be its own container.

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

protected:
virtual bool IsItemItsOwnContainerOverride(
	Object^ item
) override

Parameters

item
Type: System::Object^

The object to evaluate.

Return Value

Type: System::Boolean

true if item is a TreeViewItem; otherwise, false.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Return to top
Show: