Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates the contextual presentation state of an editor action.

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

public InnoEditor.Interactions.EditorActionState.EditorActionState(bool isVisible, bool isEnabled, bool isChecked = false, string? displayName = null, string? unavailableReason = null)

Parameter isVisible: Whether the action should be included in the current presentation.

Parameter isEnabled: Whether the action can execute in the current context.

Parameter isChecked: Whether the action is currently presented as checked.

Parameter displayName: An optional contextual label that replaces the static placement label.

Parameter unavailableReason: A concise explanation shown when an otherwise visible action cannot execute.