7 types derived from PanelCommand
Aspire.Tray.Tests (7)
src\Aspire.Tray\Common\TrayPanelScene.cs (7)
53internal sealed record FillPathCommand(PanelPath Path, PanelColor Color) : PanelCommand; 56internal sealed record StrokePathCommand(PanelPath Path, PanelColor Color, double Width) : PanelCommand; 70PanelTruncation Truncation = PanelTruncation.End) : PanelCommand; 73internal sealed record LogoCommand(PanelRect Bounds) : PanelCommand; 80internal sealed record AppIconCommand(PanelRect Bounds, string Application, IReadOnlyList<PanelCommand> Fallback) : PanelCommand; 83internal sealed record PushClipCommand(PanelRect Bounds) : PanelCommand; 85internal sealed record PopClipCommand : PanelCommand;
28 references to PanelCommand
Aspire.Tray.Tests (28)
Helpers\TrayPanelSvgRenderer.cs (2)
48foreach (var command in scene.Commands) 65foreach (var shape in appIcon.Fallback)
src\Aspire.Tray\Common\TrayPanel.cs (15)
725var commands = new List<PanelCommand>(); 845var hidden = new List<PanelCommand>(); 927private void AddHeader(List<PanelCommand> commands, TrayViewState state, TrayPanelPalette palette) 942private void AddNotice(List<PanelCommand> commands, string notice, bool singleLine, double height, TrayPanelPalette palette) 958private void AddEmptyState(List<PanelCommand> commands, DiscoveryState discovery, double top, TrayPanelPalette palette) 984private void AddSectionHeader(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelSection section, double top, 1022private void AddRow(List<PanelCommand> commands, List<PanelHitTarget> targets, AppHostMenuItem host, PanelSection section, 1140private void AddActions(List<PanelCommand> commands, List<PanelHitTarget> targets, AppHostMenuItem host, PanelSection section, 1157var fallback = new List<PanelCommand>(); 1212private void AddConfirm(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelConfirm confirm, AppHostMenuItem? host, 1266private void AddSettingsHeader(List<PanelCommand> commands, List<PanelHitTarget> targets, TrayPanelPalette palette) 1278private void AddSettingsToggle(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelTargetKind kind, PanelSettings settings, 1305private void AddAbout(List<PanelCommand> commands, PanelSettings settings, double top, TrayPanelPalette palette) 1324private void AddFooter(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelRect footer, TrayPanelPalette palette) 1352private void AddInteractionFill(List<PanelCommand> commands, PanelTargetKey key, PanelRect bounds, TrayPanelPalette palette, bool includeFocus)
src\Aspire.Tray\Common\TrayPanelGlyphs.cs (3)
52public static void AddStatus(List<PanelCommand> commands, PanelStatusGlyph glyph, PanelRect bounds, TrayPanelPalette palette) 97public static void AddIcon(List<PanelCommand> commands, PanelIcon icon, PanelRect bounds, PanelColor color) 204public static void AddToggle(List<PanelCommand> commands, bool on, bool enabled, PanelRect bounds, TrayPanelPalette palette)
src\Aspire.Tray\Common\TrayPanelScene.cs (2)
80internal sealed record AppIconCommand(PanelRect Bounds, string Application, IReadOnlyList<PanelCommand> Fallback) : PanelCommand; 222IReadOnlyList<PanelCommand> Commands,
TrayPanelTests.cs (6)
761var commands = new List<PanelCommand>(); 967var commands = new List<PanelCommand>(); 996var commands = new List<PanelCommand>(); 1053var commands = new List<PanelCommand>(); 1098var commands = new List<PanelCommand>(); 1372private static PanelRect GetBounds(PanelCommand command)