8 references to GetControlBounds
Aspire.Tray.Tests (8)
TrayPanelTests.cs (8)
946
var dot = scene.Commands.OfType<FillPathCommand>().Single(fill => fill.Path.
GetControlBounds
() is { Width: 8, Height: 8 } bounds
956
Assert.Equal(status.Baseline - PanelFonts.CapHeight(PanelFontRole.Body) / 2, dot.Path.
GetControlBounds
().CenterY, 3);
970
.Select(fill => fill.Path.
GetControlBounds
()).ToList();
979
.Select(fill => fill.Path.
GetControlBounds
()).ToList();
1058
Assert.Equal(rect, path.
GetControlBounds
());
1132
var fill = panel.Scene.Commands.OfType<FillPathCommand>().Last(fill => fill.Path.
GetControlBounds
().Contains(accept.Bounds.CenterX, accept.Bounds.CenterY)
1133
&& fill.Path.
GetControlBounds
().Width <= accept.Bounds.Width + 1);
1490
return path.
GetControlBounds
().Inset(-width / 2, -width / 2);