Udostępnij za pośrednictwem


AutomationProperties.ControlledPeersProperty Property

Definition

Identifies the AutomationProperties.ControlledPeers attached property.

public:
 static property DependencyProperty ^ ControlledPeersProperty { DependencyProperty ^ get(); };
static DependencyProperty ControlledPeersProperty();
public static DependencyProperty ControlledPeersProperty { get; }
var dependencyProperty = AutomationProperties.controlledPeersProperty;
Public Shared ReadOnly Property ControlledPeersProperty As DependencyProperty

Property Value

The identifier for the AutomationProperties.ControlledPeers attached property.

Remarks

Note

ControlledPeers is used when an automation element affects one or more segments of either the application UI or the desktop. This makes it easier to associate the impact of the control operation on other UI elements.

AutomationProperties.ControlledPeers is an atypical attached property because it does not have a Set accessor, and thus is not really a XAML attached property with a markup usage. It uses the attached property model as a property store, but does not support an Extensible Application Markup Language (XAML) usage. To get the collection of elements, call GetControlledPeers, passing the item as the input parameter.

Applies to

See also