WindowSpec.Anchor property
Anchor for the initial placement of DefaultRect on the (possibly scaled) window canvas. Defaults to TopLeft = legacy absolute top-left. Use Center etc. to center/corner-anchor without computing the UI scale yourself; DefaultRect.X/Y then act as a canvas-unit offset from the anchor. A user’s saved drag still overrides this.
public WindowAnchor Anchor { get; set; }See Also
Section titled “See Also”- enum WindowAnchor
- record WindowSpec
- namespace Stellar.Abstractions.Domain