AutomationPeer.GetLevel Method

Definition

Returns the 1-based integer for the level (hierarchy) of the element that is associated with the automation peer.

C#
public int GetLevel();

Returns

Int32

The 1-based integer for the level of the element.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6