Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Detaches the panel before its extension generation is released.

API: scripting
Project: Inno.Editor.Core
Scope: Editor

public void InnoEditor.Core.EditorPanel.Detach(InnoEditor.Core.EditorContext context)

Also compensates partial attachment. Completed detachment is idempotent; a pending panel cannot draw.

Parameter context: The shared editor context for the runtime being detached.

Exception T:System.ArgumentNullException: Thrown when context is null.

Exception T:Inno.Core.Execution.RetirementPendingException: Panel work is still active. The owner must retain the panel and its dependencies and retry detachment.