AutomationProperties.IsDialogProperty AutomationProperties.IsDialogProperty AutomationProperties.IsDialogProperty AutomationProperties.IsDialogProperty Property

Definition

Identifies the AutomationProperties.IsDialog attached property, which is a Boolean value that indicates whether the automation element is a dialog window.

public : static DependencyProperty IsDialogProperty { get; }
static DependencyProperty IsDialogProperty();
public static DependencyProperty IsDialogProperty { get; }
Public Shared ReadOnly Property IsDialogProperty As DependencyProperty

Property Value

The identifier for the AutomationProperties.IsDialog attached property.

Additional features and requirements

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

Remarks

In many cases, assistive technology (AT) treats a dialog window differently than other types of windows. A screen reader, for example, typically speaks the title of the dialog, the focused control in the dialog, and then the content of the dialog up to the focused control (for example, "Do you want to save your changes before closing"). For standard windows, a screen reader typically speaks the window title followed by the focused control.

When AutomationProperties.IsDialog is true, a client application should treat the element as a dialog window.

Flyout and ContentDialog elements default to true for AutomationProperties.IsDialog.