2 instantiations of PanelAccessibleKey
aspire-tray (2)
src\Aspire.Tray\Common\TrayPanelScene.cs (2)
208public static PanelAccessibleKey For(PanelTargetKey target) => new(target, null); 209public static PanelAccessibleKey For(string label) => new(null, label);
8 references to PanelAccessibleKey
aspire-tray (8)
src\Aspire.Tray\Common\TrayPanel.cs (2)
1518_accessible.Add(new(PanelAccessibleKey.For(key), role, name, bounds, hit, target, description)); 1531_accessible.Add(new(PanelAccessibleKey.For(label), PanelAccessibleRole.Text, text, bounds, chrome ? bounds : bounds.Intersect(_viewport)));
src\Aspire.Tray\Common\TrayPanelScene.cs (3)
208public static PanelAccessibleKey For(PanelTargetKey target) => new(target, null); 209public static PanelAccessibleKey For(string label) => new(null, label); 218PanelAccessibleKey Key,
TrayApplication.PanelAutomation.cs (3)
14/// <see cref="PanelAccessibleKey"/> across redraws so their runtime ids stay stable, and every 24private readonly Dictionary<PanelAccessibleKey, PanelAutomationNode> _automationNodes = []; 165=> _panel?.FocusedTarget is { } focus && _automationNodes.TryGetValue(PanelAccessibleKey.For(focus), out var node) ? node : null;