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

API: engine
Project: Inno.Editor.Interactions

public Inno.Editor.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.