AutomationProperties.SetIsPeripheral(DependencyObject, Boolean) AutomationProperties.SetIsPeripheral(DependencyObject, Boolean) AutomationProperties.SetIsPeripheral(DependencyObject, Boolean) AutomationProperties.SetIsPeripheral(DependencyObject, Boolean) Method

Definition

Sets a Boolean value that indicates whether the specified element represents peripheral UI.

public : static void SetIsPeripheral(DependencyObject element, bool value)
static void SetIsPeripheral(DependencyObject element, bool value) const;
public static void SetIsPeripheral(DependencyObject element, Boolean value)
Public Shared Sub SetIsPeripheral(element As DependencyObject, value As Boolean)

Parameters

element
DependencyObject DependencyObject

The element for which to set peripheral data.

value
Boolean Boolean

A Boolean value that indicates whether the DependencyObject specified by the element parameter represents peripheral UI.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)