Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a static placement for the annotated action on an exact menu surface.

API: engine
Project: Inno.Editor.Interactions

public Inno.Editor.Interactions.EditorMenuAttribute.EditorMenuAttribute(string area, string path, int order = 0, bool separatorBefore = false)

Parameter area: The exact interaction area whose menu receives the action.

Parameter path: The slash-delimited path used to create parent menus and the leaf label.

Parameter order: The stable ordering value among sibling placements.

Parameter separatorBefore: Whether a visual separator should precede the leaf placement.

Exception T:System.ArgumentException: Thrown when area or path is empty.