AutomationProperties.GetPositionInSet(DependencyObject) 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.
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.