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