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