CompatibilitySettings.EnableLayoutItemAutomationPeerLabeledByCalculation Property
Gets or sets whether to automatically calculate the LabeledBy property for child elements of a LayoutItemAutomationPeer.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.Desktop.v25.1.dll
NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean | true to automatically calculate the |
Remarks
The EnableLayoutItemAutomationPeerLabeledByCalculation static property specifies whether LabeledBy and Name attached properties are automatically specified for child automation peers of a LayoutItemAutomationPeer.
This behavior improves accessibility and support for UI Automation tools. In some instances, it may break existing UI Automation tests that rely on the absence of these labels. To maintain compatibility with legacy test suites, disable the EnableLayoutItemAutomationPeerLabeledByCalculation setting to revert to the previous behavior.