[Automation] Fire property-changed events when AutomationId changes at runtime by dimension-zero · Pull Request #21374 · AvaloniaUI/Avalonia (original) (raw)

@dimension-zero

…t runtime

AutomationElementIdentifiers.AutomationIdProperty was missing, so runtime changes to AutomationProperties.AutomationId never raised UIA_AutomationPropertyChangedEventId on Windows (or the equivalent on macOS). UIA clients that subscribe to property changes would silently receive stale automation IDs.

MrJul pushed a commit to MrJul/Avalonia that referenced this pull request

May 28, 2026

@dimension-zero @MrJul

…t runtime (AvaloniaUI#21374)

AutomationElementIdentifiers.AutomationIdProperty was missing, so runtime changes to AutomationProperties.AutomationId never raised UIA_AutomationPropertyChangedEventId on Windows (or the equivalent on macOS). UIA clients that subscribe to property changes would silently receive stale automation IDs.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})