alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class TreeGridCommandColumn

    Configures tree grid command column.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    TreeGridCommandColumn
    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.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    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.TreeGrid
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeGridCommandColumn : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    TreeGridCommandColumn()

    Declaration
    public TreeGridCommandColumn()

    Properties

    ButtonOption

    Gets or sets the button model for the command column.

    Declaration
    [Parameter]
    public CommandButtonOptions ButtonOption { get; set; }
    Property Value
    Type Description
    CommandButtonOptions

    An instance of CommandButtonOptions that defines the button model.

    Title

    Gets or sets the tooltip for the command button.

    Declaration
    [Parameter]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    A string representing the tooltip for the command button.

    Type

    Gets or sets the type of the command button.

    Declaration
    [Parameter]
    public CommandButtonType Type { get; set; }
    Property Value
    Type Description
    CommandButtonType

    One of the CommandButtonType enumeration values that defines the button type. The default is None. None - Default. A command button with no default action. Use this for custom command actions.
    Edit - A edit command button that edit current record.
    Delete - A delete command button that delete current record.
    Save - A save command button that saves the current edited record.
    Cancel - A cancel command button that cancels the edit state.

    Remarks

    To use custom command button, set Type as None and use CommandClicked event to perform custom action.

    Uid

    Gets the unique identifier value of the column.

    Declaration
    [Parameter]
    public string Uid { get; set; }
    Property Value
    Type Description
    string

    A string representing the unique identifier of the command column.

    Methods

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

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

    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

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

    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

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