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