AutomationProperties.GetIsDialog(DependencyObject) AutomationProperties.GetIsDialog(DependencyObject) AutomationProperties.GetIsDialog(DependencyObject) AutomationProperties.GetIsDialog(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.IsDialog attached property for the specified DependencyObject.

public : static Platform::Boolean GetIsDialog(DependencyObject element)
static bool GetIsDialog(DependencyObject element) const;
public static bool GetIsDialog(DependencyObject element)
Public Shared Function GetIsDialog(element As DependencyObject) As bool

Parameters

element
DependencyObject DependencyObject

The object to check.

Returns

bool bool

true if the specified element is identified as a dialog window; otherwise, false.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)