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 const& element);
public static IList<DependencyObject> GetDescribedBy(DependencyObject element);
function getDescribedBy(element)
Public Shared Function GetDescribedBy (element As DependencyObject) As IList(Of DependencyObject)

Parameters

element
DependencyObject

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

Returns

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

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.

Applies to

See also