AutomationProperties.GetControlledPeers(DependencyObject) AutomationProperties.GetControlledPeers(DependencyObject) AutomationProperties.GetControlledPeers(DependencyObject) AutomationProperties.GetControlledPeers(DependencyObject) Method

Definition

A static utility method that retrieves the list of controlled peers from a target owner.

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

Parameters

element
DependencyObject DependencyObject

The owner object to retrieve controlled peers from.

Returns

IList<UIElement> IList<UIElement>

A list containing the peers that the target element controls.

Remarks

Examining controlled peers is an advanced scenario that most peer implementations won't need to use.

This identifier is commonly used for Auto-suggest accessibility.