AutomationProperties.GetLevel(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the AutomationProperties.Level property for the specified element.
public:
static int GetLevel(DependencyObject ^ element);
static int GetLevel(DependencyObject const& element);
public static int GetLevel(DependencyObject element);
function getLevel(element)
Public Shared Function GetLevel (element As DependencyObject) As Integer
Parameters
- element
- DependencyObject
The DependencyObject to check.
Returns
Int32
int
The value of the AutomationProperties.Level property.