Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a dockable panel registration with stable identity and presentation metadata.

API: engine
Project: Inno.Editor.Core

public Inno.Editor.Core.EditorPanelAttribute.EditorPanelAttribute(string id, string title, int order = 0, bool defaultOpen = true, string menuPath = "", bool separatorBefore = false)

Parameter id: The stable identity used for Panel-menu routing and reload-state retention.

Parameter title: The visible dockable-window title.

Parameter order: The stable panel and generated Panel-menu ordering value.

Parameter defaultOpen: Whether a newly discovered panel is visible before retained state is available.

Parameter menuPath: The optional slash-delimited category path under the generated Panel menu.

Parameter separatorBefore: Whether the generated toggle is preceded by a separator within its final menu category.

Exception T:System.ArgumentException: Thrown when id or title is empty, or when menuPath contains an empty segment.