Skip to content
Version 2.11.0
↓ Get the launcher

IEntityContextMenu.Register method

Register a menu item. isVisible gates per-entity (null = always visible); onClick fires with the row’s entity. Dispose the return value to unregister.

public IDisposable Register(string label, Func<EntityId, bool>? isVisible, Action<EntityId> onClick)