menu

Blazor

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

    Show / Hide Table of Contents

    Class TreeGridSortColumn

    Configures Tree Grid sort column.

    Inheritance
    System.Object
    TreeGridSortColumn
    Namespace: Syncfusion.Blazor.TreeGrid
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeGridSortColumn : OwningComponentBase

    Constructors

    TreeGridSortColumn()

    Declaration
    public TreeGridSortColumn()

    Properties

    Direction

    Defines the direction of sort column.

    Declaration
    public SortDirection Direction { get; set; }
    Property Value
    Type Description
    SortDirection

    One of the SortDirection enumeration values.

    Field

    Defines the field name of sort column.

    Declaration
    public string Field { get; set; }
    Property Value
    Type Description
    System.String

    The name of the field to sort.

    Methods

    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
    System.Threading.Tasks.Task

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

    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
    System.Threading.Tasks.Task

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

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