AutomationPeer.GetLevel Method

Definition

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

public:
 virtual int GetLevel() = GetLevel;
int GetLevel();
public int GetLevel();
function getLevel()
Public Function GetLevel () As Integer

Returns

Int32

int

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

Applies to