Share via


AutomationProperties.SetPositionInSet(DependencyObject, Int32) Method

Definition

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

public:
 static void SetPositionInSet(DependencyObject ^ element, int value);
 static void SetPositionInSet(DependencyObject const& element, int const& value);
public static void SetPositionInSet(DependencyObject element, int value);
function setPositionInSet(element, value)
Public Shared Sub SetPositionInSet (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