Skip to main content
A newer version of this page is available. .
All docs
V22.1

WindowsFormsSettings.UseUIAutomation Property

Gets or sets whether DevExpress controls should use legacy Microsoft Active Accessibility (MSAA) or UIAutomation. See this link for more information on both technologies: Microsoft Active Accessibility and UI Automation Compared.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v22.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static DefaultBoolean UseUIAutomation { get; set; }

Property Value

Type Description
DefaultBoolean

true if DevExpress controls should use UIAutomation patterns; otherwise, false.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

When the UseUIAutomation property is set to DefaultBoolean.True, most commonly-used DevExpress controls support UIAutomation patterns recommended by Microsoft (see this topic for more details: Control Types and Their Supported Control Patterns).

See Also