AutomationProperties.IsDialog Attached Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the automation element is a dialog window.
see GetIsDialog, and SetIsDialog
see GetIsDialog, and SetIsDialog
see GetIsDialog, and SetIsDialog
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
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
.
- Type: Boolean
- Identifier field: IsDialogProperty
- Accessor methods: GetIsDialog, SetIsDialog