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)));
1053
void Line(double y, string label, PanelRect bounds) => _guides.Add(
new
(PanelGuideKind.Center, y, label, bounds));
1054
void 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)
943
private List<
PanelGuide
> _guides = [];
src\Aspire.Tray\Common\TrayPanelScene.cs (6)
247
public 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)
95
foreach (
var
guide in scene.Guides)