ClearAutomationEventsHelper.IsEnabled Property
Gets or sets whether the ClearAutomationEventsHelper
should block automation events to improve application performance. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v25.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
DevExpress controls remove UI Automation peers and events to improve performance when UI Automation is not needed. However, they keep them if Narrator is running or the Screen Reader parameter is enabled.
The IsEnabled
property is set to false
automatically in the following cases:
- Screen reader is active
- Narrator is active
- UITestingEnabled is
true
If you need to use the UI Automation framework without screen readers, set the IsEnabled
property to false
in the application constructor or any other code that is invoked before DevExpress controls are loaded:
public App() {
DevExpress.Xpf.Core.ClearAutomationEventsHelper.IsEnabled = false;
}