ButtonElement.OnClickWithRect property
When non-null, invoked on click with the button’s screen rect (top-left origin, same coordinate space as Rect). Use to anchor a popup to the button’s actual position.
public Action<WindowRect>? OnClickWithRect { get; set; }See Also
Section titled “See Also”- struct WindowRect
- record ButtonElement
- namespace Stellar.Abstractions.Services