wpf-devexpress-dot-xpf-dot-core-dot-clearautomationeventshelper-ab81ddc5.md
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.2.dll
NuGet Package : DevExpress.Wpf.Core
public static bool IsEnabled { get; set; }
Public Shared Property IsEnabled As Boolean
| Type | Description |
|---|---|
| Boolean |
true to block automation events and improve application performance; otherwise false.
|
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:
trueIf 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;
}
Partial Public Class App
Inherits Application
Public Sub New()
DevExpress.Xpf.Core.ClearAutomationEventsHelper.IsEnabled = False
End Sub
...
See Also
Screen reader parameter MSDN topic
ClearAutomationEventsHelper Class