AutomationProperties.SetLevel(DependencyObject, Int32) AutomationProperties.SetLevel(DependencyObject, Int32) AutomationProperties.SetLevel(DependencyObject, Int32) 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 element, int32_t value) const;
public static void SetLevel(DependencyObject element, Int32 value)
Public Shared Sub SetLevel(element As DependencyObject, value As Int32)

Parameters

element
DependencyObject DependencyObject

The DependencyObject for which to set the property.

value
Int32 Int32

The value of the property.