Class BeginEditEventArgs
Provides information for the OnBeginEdit
event.
Inheritance
Namespace: Syncfusion.Blazor.InPlaceEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeginEditEventArgs : Object
Remarks
This event is triggered when the editor is about to enter edit mode. It can be used to cancel the edit operation.
Constructors
BeginEditEventArgs()
Declaration
public BeginEditEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the action of opening the editor.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Set this property to true
to stop the component from entering edit mode.
CancelFocus
Gets or sets a value indicating whether to prevent focusing the editor component when it enters editable mode.
Declaration
public bool CancelFocus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
By default, the editor component is focused when editing begins. Set this to true
to disable this behavior.
Mode
Gets or sets the editor mode for the component.
Declaration
public RenderMode Mode { get; set; }
Property Value
Type | Description |
---|---|
RenderMode | A RenderMode value that specifies how the editor is rendered. |
Remarks
This property indicates whether the editor is rendered inline or as a popup.