Class EditableType
Defines the user action that triggers the In-Place Editor to switch to an editable state.
Inheritance
Namespace: Syncfusion.Blazor.InPlaceEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class EditableType : Enum
Remarks
This enumeration allows you to specify whether the editor becomes active on a Click, DoubleClick, or an EditIconClick.
Fields
Click
Switches to editable mode with a single click on the component.
Declaration
public const EditableType Click
Field Value
Type | Description |
---|---|
EditableType | Activates the editor upon a single click. |
Remarks
This is the most common and intuitive mode for quick edits.
DoubleClick
Switches to editable mode when the component is double-clicked.
Declaration
public const EditableType DoubleClick
Field Value
Type | Description |
---|---|
EditableType | Activates the editor upon a double-click. |
Remarks
Use DoubleClick to prevent accidental edits from a single click.
EditIconClick
Switches to editable mode only when the edit icon is clicked.
Declaration
public const EditableType EditIconClick
Field Value
Type | Description |
---|---|
EditableType | Activates the editor only through the designated edit icon. |
Remarks
This mode provides a clear visual cue for editing and is useful when the component's content itself should not be clickable.