menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BeginEditEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BeginEditEventArgs

    Provides information for the OnBeginEdit event.

    Inheritance
    System.Object
    BeginEditEventArgs
    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

    true to prevent the editor from opening; otherwise, false. The default is false.

    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

    true to prevent the editor from being focused; otherwise, false.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved