AutomationProperties.GetControlledPeers method

Applies to Windows and Windows Phone

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

Syntax


public:
static IVector<UIElement>^ GetControlledPeers(
  DependencyObject^ element
)

Parameters

element

Type: DependencyObject

The owner object to retrieve controlled peers from.

Return value

Type: IVector<UIElement> [C++] | System.Collections.Generic.IList<UIElement> [.NET]

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.winmd

See also

AutomationProperties

 

 

Show:
© 2014 Microsoft