7 types derived from PanelCommand
aspire-tray (7)
src\Aspire.Tray\Common\TrayPanelScene.cs (7)
59internal sealed record FillPathCommand(PanelPath Path, PanelColor Color) : PanelCommand; 62internal sealed record StrokePathCommand(PanelPath Path, PanelColor Color, double Width) : PanelCommand; 79double? ExplicitBaseline = null) : PanelCommand 89internal sealed record LogoCommand(PanelRect Bounds) : PanelCommand; 96internal sealed record AppIconCommand(PanelRect Bounds, string Application, IReadOnlyList<PanelCommand> Fallback) : PanelCommand; 99internal sealed record PushClipCommand(PanelRect Bounds) : PanelCommand; 101internal sealed record PopClipCommand : PanelCommand;
23 references to PanelCommand
aspire-tray (23)
src\Aspire.Tray\Common\TrayPanel.cs (15)
747var commands = new List<PanelCommand>(); 868var hidden = new List<PanelCommand>(); 1071private void AddHeader(List<PanelCommand> commands, TrayViewState state, TrayPanelPalette palette) 1089private void AddNotice(List<PanelCommand> commands, string notice, bool singleLine, double height, TrayPanelPalette palette) 1106private void AddEmptyState(List<PanelCommand> commands, DiscoveryState discovery, double top, TrayPanelPalette palette) 1132private void AddSectionHeader(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelSection section, double top, 1170private void AddRow(List<PanelCommand> commands, List<PanelHitTarget> targets, AppHostMenuItem host, PanelSection section, 1288private void AddActions(List<PanelCommand> commands, List<PanelHitTarget> targets, AppHostMenuItem host, PanelSection section, 1305var fallback = new List<PanelCommand>(); 1360private void AddConfirm(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelConfirm confirm, AppHostMenuItem? host, 1414private void AddSettingsHeader(List<PanelCommand> commands, List<PanelHitTarget> targets, TrayPanelPalette palette) 1427private void AddSettingsToggle(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelTargetKind kind, PanelSettings settings, 1454private void AddAbout(List<PanelCommand> commands, PanelSettings settings, double top, TrayPanelPalette palette) 1473private void AddFooter(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelRect footer, TrayPanelPalette palette) 1501private 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)
96internal sealed record AppIconCommand(PanelRect Bounds, string Application, IReadOnlyList<PanelCommand> Fallback) : PanelCommand; 238IReadOnlyList<PanelCommand> Commands,
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
65foreach (var command in scene.Commands)
TrayApplication.Panel.cs (2)
483foreach (var command in scene.Commands) 509foreach (var shape in appIcon.Fallback)