AutomationProperties.GetIsDialog(DependencyObject) 方法

定義

取得指定DependencyObjectAutomationProperties.IsDialog附加屬性的值。

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

參數

element
DependencyObject

要檢查的物件。

傳回

Boolean

bool

如果指定的專案識別為對話方塊視窗,則為true;否則為false

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於

另請參閱