menu

Blazor

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

    Show / Hide Table of Contents

    Class SortingEventArgs

    Provides information about the Sorting event.

    Inheritance
    System.Object
    GridEventBaseArgs
    SortedEventArgs
    SortingEventArgs
    Inherited Members
    GridEventBaseArgs.PreventRender
    SortedEventArgs.Action
    SortedEventArgs.ColumnName
    SortedEventArgs.Direction
    SortedEventArgs.SortedColumns
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SortingEventArgs : SortedEventArgs

    Constructors

    SortingEventArgs()

    Declaration
    public SortingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the sorting action.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false.

    Remarks

    The Cancel property is used to control the sorting action of the grid. If the Cancel property is set to true, then the sorting action will be Canceled.

    IsCtrlKeyPressed

    Gets a value indicating whether the CTRL key is currently pressed for multi-sorting.

    Declaration
    public bool IsCtrlKeyPressed { get; }
    Property Value
    Type Description
    System.Boolean

    true if the CTRL key is pressed for multi-sorting; otherwise, false. The default value is false.

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