Synced
EditorActionState.Constructor
Section titled “EditorActionState.Constructor”
- Creates the contextual presentation state of an editor action.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Editor.Interactions.EditorActionState.EditorActionState(bool isVisible, bool isEnabled, bool isChecked = false, string? displayName = null, string? unavailableReason = null)Parameters
Section titled “Parameters”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.