Skip to content

UIContextMenu.OnItemSelected Event

Definition

Namespace: Brine2D.UI

Fired when an enabled item is selected. Parameters are the zero-based item index \(separators are counted\) and the item label.

C#
public event Action<int,string>? OnItemSelected;

Event Type

System.Action<System.Int32,System.String>