menu

Blazor

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

    Show / Hide Table of Contents

    Class InPlaceEditorCancelButton

    Configures the properties for the In-place Editor's Cancel button.

    Inheritance
    System.Object
    InPlaceEditorButtton
    InPlaceEditorCancelButton
    Inherited Members
    InPlaceEditorButtton.ChildContent
    InPlaceEditorButtton.Content
    InPlaceEditorButtton.CssClass
    InPlaceEditorButtton.Disabled
    InPlaceEditorButtton.EnableRtl
    InPlaceEditorButtton.IconCss
    InPlaceEditorButtton.IconPosition
    InPlaceEditorButtton.IsPrimary
    InPlaceEditorButtton.IsToggle
    InPlaceEditorButtton.OnClick
    InPlaceEditorButtton.Type
    Namespace: Syncfusion.Blazor.InPlaceEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class InPlaceEditorCancelButton : InPlaceEditorButtton
    Remarks

    The InPlaceEditorCancelButton component is used to define the appearance and behavior of the cancel button within the Syncfusion.Blazor.InPlaceEditor. When clicked, it discards any changes and returns the editor to its display state. This component is a child of SfInPlaceEditor<TValue>.

    Examples
    <SfInPlaceEditor Mode="RenderMode.Inline" Value="Andrew">
        <InPlaceEditorButtons>
            <InPlaceEditorSubmitButton>Save</InPlaceEditorSubmitButton>
            <InPlaceEditorCancelButton>Cancel</InPlaceEditorCancelButton>
        </InPlaceEditorButtons>
    </SfInPlaceEditor>

    Constructors

    InPlaceEditorCancelButton()

    Declaration
    public InPlaceEditorCancelButton()

    Methods

    Dispose()

    Releases the unmanaged resources used by the InPlaceEditorCancelButton component.

    Declaration
    public virtual void Dispose()
    Remarks

    This method calls the virtual Dispose(Boolean) method to perform the actual resource cleanup.

    Dispose(Boolean)

    Releases the unmanaged resources used by the InPlaceEditorCancelButton and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Remarks

    This override calls the base Dispose(bool) method and clears the reference to the parent component if disposing.

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent component.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Remarks

    This method is part of the Blazor component lifecycle. It calls the base OnParametersSetAsync() and then updates the parent Syncfusion.Blazor.InPlaceEditor.Internal.IInPlaceEditor with a reference to this cancel button instance.

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