Redigera

Dela via


AutomationProperties.SetPositionInSet(DependencyObject, Int32) Method

Definition

Sets the PositionInSet attached property for the specified DependencyObject.

public:
 static void SetPositionInSet(System::Windows::DependencyObject ^ element, int value);
public static void SetPositionInSet (System.Windows.DependencyObject element, int value);
static member SetPositionInSet : System.Windows.DependencyObject * int -> unit
Public Shared Sub SetPositionInSet (element As DependencyObject, value As Integer)

Parameters

element
DependencyObject

The dependency object on which to set the property.

value
Int32

The value to set.

Remarks

The PositionInSet property gets or sets the ordinal position of the element within a set of elements that are considered to be siblings.

Applies to