Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationProperties.GetControlledPeers(DependencyObject) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Parameters

element
DependencyObject

The owner object to retrieve controlled peers from.

Returns

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.

Applies to


Feedback

Was this page helpful?