1 instantiation of PanelAutomationNode
aspire-tray (1)
TrayApplication.PanelAutomation.cs (1)
75
node =
new
(this, ++_automationNextId) { Element = element };
12 references to PanelAutomationNode
aspire-tray (12)
TrayApplication.PanelAutomation.cs (12)
24
private readonly Dictionary<PanelAccessibleKey,
PanelAutomationNode
> _automationNodes = [];
25
private readonly Dictionary<int,
PanelAutomationNode
> _automationNodesById = [];
26
private List<
PanelAutomationNode
> _automationOrder = [];
69
var order = new List<
PanelAutomationNode
>(scene.Accessibility.Count);
70
var changes = new List<(
PanelAutomationNode
Node, PanelAccessibleElement? Previous)>();
73
if (!_automationNodes.TryGetValue(element.Key, out
var
node))
149
void RaisePropertyChanged(
PanelAutomationNode
node, int property, ComVariant oldValue, ComVariant newValue)
164
private
PanelAutomationNode
? GetFocusedAutomationNode()
165
=> _panel?.FocusedTarget is { } focus && _automationNodes.TryGetValue(PanelAccessibleKey.For(focus), out
var
node) ? node : null;
167
private
PanelAutomationNode
? HitTestAutomation(double screenX, double screenY)
202
if (_panel is not null && _panelVisible && _automationNodesById.TryGetValue(id, out
var
node) && node.Element.Target is { } target)
217
foreach (
var
node in _automationNodes.Values)