Browse Source
Fixed UIA pattern matching looking at incorrect interface for IExpandCollapseProvider. (#15997)
pull/16005/head
Boyd Patterson
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Windows/Avalonia.Win32/Automation/AutomationNode.cs
|
|
|
@ -88,7 +88,7 @@ namespace Avalonia.Win32.Automation |
|
|
|
|
|
|
|
return (UiaPatternId)patternId switch |
|
|
|
{ |
|
|
|
UiaPatternId.ExpandCollapse => ThisIfPeerImplementsProvider<IExpandCollapseProvider>(), |
|
|
|
UiaPatternId.ExpandCollapse => ThisIfPeerImplementsProvider<AAP.IExpandCollapseProvider>(), |
|
|
|
UiaPatternId.Invoke => ThisIfPeerImplementsProvider<AAP.IInvokeProvider>(), |
|
|
|
UiaPatternId.RangeValue => ThisIfPeerImplementsProvider<AAP.IRangeValueProvider>(), |
|
|
|
UiaPatternId.Scroll => ThisIfPeerImplementsProvider<AAP.IScrollProvider>(), |
|
|
|
|