Share via


AutomationProperties.GetPositionInSet(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.PositionInSet property for the specified DependencyObject.

public:
 static int GetPositionInSet(DependencyObject ^ element);
 static int GetPositionInSet(DependencyObject const& element);
public static int GetPositionInSet(DependencyObject element);
function getPositionInSet(element)
Public Shared Function GetPositionInSet (element As DependencyObject) As Integer

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

Int32

int

The value of the AutomationProperties.PositionInSet property.

Applies to

See also