2 references to CenterX
aspire-tray (2)
src\Aspire.Tray\Common\WindowsTrayPanelPlacement.cs (1)
21var x = Math.Clamp(anchor.CenterX - width / 2, left, right);
TrayApplication.NativeSmoke.cs (1)
231var x = (int)Math.Round(target.HitBounds.CenterX * PanelScale);