RaptorSuiteModelMenuItems.Item
One registered row.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | class | preview, since 0.1.0 |
public sealed class ItemProperties
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.
Related types
- RaptorSuiteModelMenuItems: Module rows in the Suite's Model ▾ menu, between "Duplicate as variant" and "Models browser".