1 instantiation of TrayPanel
aspire-tray (1)
TrayApplication.Panel.cs (1)
150_panel = new TrayPanel(controller.State, GetPanelPalette()) { FileManagerName = "File Explorer", QuitVerb = "Exit" };
21 references to TrayPanel
aspire-tray (21)
src\Aspire.Tray\Common\TrayPanelScene.cs (5)
92/// Draws the icon of an installed application, one of <see cref="TrayPanel.OpenInApplications"/>, 129/// <see cref="TrayPanel.OpenInApplications"/>. 275/// <see cref="TrayPanel.ConfirmRemoveMissing"/> instead of showing a dialog. 280/// <see cref="TrayPanel.OpenInApplications"/>. 300/// <see cref="TrayPanel.ShowSettings"/> to switch the panel to its Settings view.
TrayApplication.NativeSmoke.cs (10)
92var panel = _panel!; 191private TrayPanel EnsurePanelForSmoke() 201internal TrayPanel PanelForSmoke => EnsurePanelForSmoke(); 206var panel = EnsurePanelForSmoke(); 265var panel = _panel!; 374var panel = EnsurePanelForSmoke(); 432var panel = EnsurePanelForSmoke(); 446NativeSmokeHarness.Require(panel.Scene.Accessibility.Single(element => element.Key.Label == "header.status").Bounds.CenterY == TrayPanel.HeaderHeight / 2 447&& TrayPanel.HeaderHeight == TrayPanel.FooterHeight, "The header must be one line, as tall as the footer.");
TrayApplication.Panel.cs (5)
12/// Layout, glyphs and interaction live in the shared <see cref="TrayPanel"/>; this part hosts it 24private TrayPanel? _panel; 183_panel!.MaxHeight = Math.Min(TrayPanel.DefaultMaxHeight, (work.Bottom - work.Top - 2 * margin) / scale); 184var width = (int)Math.Round(TrayPanel.Width * scale); 217var diameter = (int)Math.Round(2 * TrayPanel.CornerRadius * scale);
TrayApplication.PanelAutomation.cs (1)
15/// action goes through <see cref="TrayPanel"/>, exactly like a click or a key press.