Share via


AutomationProperties.GetIsPeripheral(DependencyObject) 方法

定义

获取一个布尔值,该值指示指定的元素是否表示外围 UI。

public:
 static bool GetIsPeripheral(DependencyObject ^ element);
 static bool GetIsPeripheral(DependencyObject const& element);
public static bool GetIsPeripheral(DependencyObject element);
function getIsPeripheral(element)
Public Shared Function GetIsPeripheral (element As DependencyObject) As Boolean

参数

element
DependencyObject

要为外围数据检查的元素。

返回

Boolean

bool

一个布尔值,指示元素参数指定的 DependencyObject 是否表示外围 UI。

适用于