AutomationProperties.SetLevel(DependencyObject, Int32) 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.
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.