Skip to content

UIContextMenu.AddItem(string, bool) Method

Definition

Namespace: Brine2D.UI

Adds a labeled item. Use enabled to grey it out without removing it. Returns this for fluent chaining.

C#
public Brine2D.UI.UIContextMenu AddItem(string label, bool enabled=true);

Parameters

label System.String

enabled System.Boolean

Returns

UIContextMenu