Get RAPTOR

RaptorSuiteModelMenuItems.Item

One registered row.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0
public sealed class Item

Properties

DrawerNew

public bool DrawerNew { get; }

Whether this row is also the Models drawer's New button.

Icon

public string Icon { get; }

Gets the row's icon name.

Id

public string Id { get; }

Gets the registration id.

Label

public string Label { get; }

Gets the row's label, also used as the New button's tooltip.

Open

public Action Open { get; }

Gets the action that runs when the row is clicked. It runs as a menu action, outside the GUI pass.

Visible

public Func<bool> Visible { get; }

Gets the visibility check. Null means always listed; otherwise the row is listed while it returns true.