AutomationProperties.SetLevel(DependencyObject, Int32) Method

Definition

Sets the value of the AutomationProperties.Level attached property for the specified DependencyObject.

public:
 static void SetLevel(DependencyObject ^ element, int value);
 static void SetLevel(DependencyObject const& element, int const& value);
public static void SetLevel(DependencyObject element, int value);
function setLevel(element, value)
Public Shared Sub SetLevel (element As DependencyObject, value As Integer)

Parameters

element
DependencyObject

The DependencyObject for which to set the property.

value
Int32

int

The value of the property.

Applies to

See also