4 instantiations of PanelGuide
aspire-tray (4)
src\Aspire.Tray\Common\TrayPanel.cs (4)
959_guides.Add(new(PanelGuideKind.Column, x, label, all)); 969_guides.Add(new(PanelGuideKind.Baseline, HeaderBaseline, "header baseline", new(TextLeft, 0, Width - TextLeft, HeaderHeight))); 1053void Line(double y, string label, PanelRect bounds) => _guides.Add(new(PanelGuideKind.Center, y, label, bounds)); 1054void Box(PanelRect bounds, string label) => _guides.Add(new(PanelGuideKind.Box, bounds.CenterY, label, bounds));
8 references to PanelGuide
aspire-tray (8)
src\Aspire.Tray\Common\TrayPanel.cs (1)
943private List<PanelGuide> _guides = [];
src\Aspire.Tray\Common\TrayPanelScene.cs (6)
247public IReadOnlyList<PanelGuide> Guides { get; init; } = []; 252/// <summary>A vertical line at <see cref="PanelGuide.Position"/> (x), spanning <see cref="PanelGuide.Bounds"/>.</summary> 255/// A horizontal line at <see cref="PanelGuide.Position"/> (y), spanning <see cref="PanelGuide.Bounds"/>: where 261/// <summary>A horizontal line at <see cref="PanelGuide.Position"/> (y) where text on that line shares its baseline.</summary>
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
95foreach (var guide in scene.Guides)