src\Aspire.Tray\Common\TrayPanel.cs (28)
852Add(ListItemKind.Empty, EmptyStateHeight, PanelSection.None, null);
860void Add(ListItemKind kind, double height, PanelSection section, AppHostMenuItem? host, PanelTargetKind target = default)
876Add(ListItemKind.Confirm, ConfirmHeight, section, null);
880Add(ListItemKind.SectionHeader, SectionHeaderHeight, section, null);
890Add(confirming ? ListItemKind.Confirm : ListItemKind.Row, confirming ? ConfirmHeight : RowHeight, section, host);
894Add(ListItemKind.Actions, count * ActionItemHeight + 2 * ActionListPadding + ActionListGap, section, host);
901Add(ListItemKind.SectionHeader, SectionHeaderHeight, PanelSection.None, null, PanelTargetKind.LaunchAtSignIn);
902Add(ListItemKind.SettingsToggle, SettingsRowHeight, PanelSection.None, null, PanelTargetKind.LaunchAtSignIn);
903Add(ListItemKind.SectionHeader, SectionHeaderHeight, PanelSection.None, null, PanelTargetKind.Documentation);
904Add(ListItemKind.About, AboutHeight, PanelSection.None, null);
983case ListItemKind.Empty:
986case ListItemKind.SectionHeader when _settings is not null:
993case ListItemKind.SectionHeader:
996case ListItemKind.Row:
1000case ListItemKind.Confirm:
1003case ListItemKind.Actions:
1006case ListItemKind.SettingsToggle:
1009case ListItemKind.About:
1099case ListItemKind.Row:
1111case ListItemKind.SectionHeader when item.Section == PanelSection.Recent && _settings is null:
1115case ListItemKind.SectionHeader:
1118case ListItemKind.Actions:
1133case ListItemKind.SettingsToggle:
1136case ListItemKind.Confirm:
1142case ListItemKind.About:
1149case ListItemKind.Empty:
1740private readonly record struct ListItem(ListItemKind Kind, double Y, double Height, PanelSection Section, AppHostMenuItem? Host,