alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class InPlaceEditorCancelButton

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

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    InPlaceEditorButtton
    InPlaceEditorCancelButton
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    InPlaceEditorButtton.Content
    InPlaceEditorButtton.CssClass
    InPlaceEditorButtton.Disabled
    InPlaceEditorButtton.EnableRtl
    InPlaceEditorButtton.IconCss
    InPlaceEditorButtton.IconPosition
    InPlaceEditorButtton.IsPrimary
    InPlaceEditorButtton.IsToggle
    InPlaceEditorButtton.OnClick
    InPlaceEditorButtton.Type
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.InPlaceEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class InPlaceEditorCancelButton : InPlaceEditorButtton, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    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(bool) method to perform the actual resource cleanup.

    Dispose(bool)

    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
    bool disposing

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

    Overrides
    OwningComponentBase.Dispose(bool)
    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
    Task

    A Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnParametersSetAsync()
    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.

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved