src\Aspire.Tray\Common\TrayPanel.cs (20)
746Add(ListItemKind.Empty, EmptyStateHeight, PanelSection.None, null);
754void Add(ListItemKind kind, double height, PanelSection section, AppHostMenuItem? host, PanelTargetKind target = default)
770Add(ListItemKind.Confirm, ConfirmHeight, section, null);
774Add(ListItemKind.SectionHeader, SectionHeaderHeight, section, null);
784Add(confirming ? ListItemKind.Confirm : ListItemKind.Row, confirming ? ConfirmHeight : RowHeight, section, host);
788Add(ListItemKind.Actions, count * ActionItemHeight + 2 * ActionListPadding + ActionListGap, section, host);
795Add(ListItemKind.SectionHeader, SectionHeaderHeight, PanelSection.None, null, PanelTargetKind.LaunchAtSignIn);
796Add(ListItemKind.SettingsToggle, SettingsRowHeight, PanelSection.None, null, PanelTargetKind.LaunchAtSignIn);
797Add(ListItemKind.SectionHeader, SectionHeaderHeight, PanelSection.None, null, PanelTargetKind.Documentation);
798Add(ListItemKind.About, AboutHeight, PanelSection.None, null);
854case ListItemKind.Empty:
857case ListItemKind.SectionHeader when _settings is not null:
864case ListItemKind.SectionHeader:
867case ListItemKind.Row:
871case ListItemKind.Confirm:
874case ListItemKind.Actions:
877case ListItemKind.SettingsToggle:
880case ListItemKind.About:
1480private readonly record struct ListItem(ListItemKind Kind, double Y, double Height, PanelSection Section, AppHostMenuItem? Host,