AutomationProperties.GetSizeOfSet(DependencyObject) Method

Definition

Gets the value of the SizeOfSet attached property for the specified DependencyObject.

public:
 static int GetSizeOfSet(System::Windows::DependencyObject ^ element);
public static int GetSizeOfSet (System.Windows.DependencyObject element);
static member GetSizeOfSet : System.Windows.DependencyObject -> int
Public Shared Function GetSizeOfSet (element As DependencyObject) As Integer

Parameters

element
DependencyObject

The dependency object on which to get the property value.

Returns

The value of the SizeOfSet attached property of element.

Remarks

The SizeOfSet property gets or sets the count of automation elements in a group or set that are considered to be siblings.

Applies to