Property Depth Depth Gets the nesting level of this item in the tree hierarchy. Declaration int Depth { get; } Property Value Type Description int Remarks Root items have depth 0, their children have depth 1, and so on.