AutomationProperties.ControlledPeersProperty Property
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.
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 aSet
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.