Skip to content
Version 2.32.0
↓ Get the launcher

SelectableElement.OnClickWithRect property

When non-null, invoked on a left click (right after OnClick) with the row’s on-screen rect in screen PIXELS, top-left origin — the same space as OnClickWithRect. Use to anchor a popup to the clicked element instead of the cursor. ⚠️ SetRect takes CANVAS units: multiply by CanvasWidth / ScreenWidth first. Init property, NOT a ctor param (binary-compatible).

public Action<WindowRect>? OnClickWithRect { get; set; }