9 references to FocusedTarget
aspire-tray (9)
TrayApplication.NativeSmoke.cs (4)
275NativeSmokeHarness.Require(panel.FocusedTarget == items[0].Key, "Down must move from the More button into the action list."); 287NativeSmokeHarness.Require(panel.FocusedTarget == items[0].Key && !panel.Scene.Targets.Any(target => target.Kind == PanelTargetKind.OpenIn), 291NativeSmokeHarness.Require(panel.ActionsRow is null && _panelVisible && panel.FocusedTarget?.Kind == PanelTargetKind.More, 329NativeSmokeHarness.Require(_panelVisible && (_panel!.FocusedTarget is not null) == keyboard,
TrayApplication.PanelAutomation.cs (5)
104_automationFocus = _panel.FocusedTarget; 140if (_panel.FocusedTarget != _automationFocus) 142_automationFocus = _panel.FocusedTarget; 165=> _panel?.FocusedTarget is { } focus && _automationNodes.TryGetValue(PanelAccessibleKey.For(focus), out var node) ? node : null; 328private bool IsFocused => Element.Target is { } target && owner._panel?.FocusedTarget == target.Key;