AutomationProperties.GetDescribedBy(DependencyObject) AutomationProperties.GetDescribedBy(DependencyObject) AutomationProperties.GetDescribedBy(DependencyObject) AutomationProperties.GetDescribedBy(DependencyObject) Method

Definition

Gets a collection of elements that provide more information about the specified automation element.

public : static IVector<DependencyObject> GetDescribedBy(DependencyObject element)
static IVector<DependencyObject> GetDescribedBy(DependencyObject element) const;
public static IList<DependencyObject> GetDescribedBy(DependencyObject element)
Public Shared Function GetDescribedBy(element As DependencyObject) As IList<DependencyObject>(Of DependencyObject)

Parameters

element
DependencyObject DependencyObject

The automation element for which to get the described by collection.

Returns

IList<DependencyObject> IList<DependencyObject>

A collection of elements that provide more information about the automation element specified by the element parameter.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

The described by collection is used when an automation element is explained by another segment of the application UI. For example, the collection can contain a text element of "2,529 items in 85 groups, 10 items selected" from a complex custom list object. Instead of using the object model for clients to digest similar information, the described by collection can offer quick access to UI elements that may already offer useful end-user information describing the UI element.