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。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於

另請參閱