5 references to CenterY
aspire-tray (5)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1054
void Box(PanelRect bounds, string label) => _guides.Add(new(PanelGuideKind.Box, bounds.
CenterY
, label, bounds));
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
85
public double Baseline => ExplicitBaseline ?? Bounds.
CenterY
+ PanelFonts.CapHeight(Font) / 2;
TrayApplication.NativeSmoke.cs (3)
99
ApplyPanelResponse(panel.PointerMoved(first.HitBounds.X + 40, first.HitBounds.
CenterY
));
232
var y = (int)Math.Round(target.HitBounds.
CenterY
* PanelScale);
446
NativeSmokeHarness.Require(panel.Scene.Accessibility.Single(element => element.Key.Label == "header.status").Bounds.
CenterY
== TrayPanel.HeaderHeight / 2