Class ActionBlur
Specifies the action to be performed when focus moves out of the In-Place Editor.
Inheritance
Namespace: Syncfusion.Blazor.InPlaceEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ActionBlur : Enum
Remarks
This enumeration determines whether to Submit, Cancel, or Ignore the changes when the editor loses focus.
Fields
Cancel
Cancels the edit and reverts to the original value when the In-Place Editor loses focus.
Declaration
public const ActionBlur Cancel
Field Value
Type | Description |
---|---|
ActionBlur | Discards any changes made in the editor. |
Remarks
Choosing Cancel ensures that unintentional edits are not saved when the user navigates away from the editor.
Ignore
Ignores the focus-out event, keeping the editor in an active state.
Declaration
public const ActionBlur Ignore
Field Value
Type | Description |
---|---|
ActionBlur | The editor remains open and retains the current changes without submitting or canceling. |
Remarks
Use Ignore when you want to maintain the editing state even when focus moves to another element.
Submit
Submits the edited value when the In-Place Editor loses focus.
Declaration
public const ActionBlur Submit
Field Value
Type | Description |
---|---|
ActionBlur | This is the default value, which saves the changes upon focus out. |
Remarks
When set to Submit, any modifications made in the editor are saved automatically.