TreeViewItemExtensions.

GetDepth(TreeViewItem) Method

Syntax

public static int GetDepth(this TreeViewItem item)

Parameters

Name Type Description
item TreeViewItem

Return Value

Type Description
int