alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DataGridSortColumnsChangingEventArgs

    Provides data for the SortColumnsChanging event.

    Inheritance
    object
    EventArgs
    CancelEventArgs
    DataGridSortColumnsChangingEventArgs
    Inherited Members
    CancelEventArgs.Cancel
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public sealed class DataGridSortColumnsChangingEventArgs : CancelEventArgs

    Constructors

    DataGridSortColumnsChangingEventArgs(IList<SortColumnDescription>, IList<SortColumnDescription>, NotifyCollectionChangedAction)

    Initializes a new instance of the DataGridSortColumnsChanging class using the specified values.

    Declaration
    public DataGridSortColumnsChangingEventArgs(IList<SortColumnDescription> addedItems, IList<SortColumnDescription> removedItems, NotifyCollectionChangedAction action)
    Parameters
    Type Name Description
    IList<SortColumnDescription> addedItems

    The collection of new added columns in sorting.

    IList<SortColumnDescription> removedItems

    The collection of columns which are removed from sorting.

    NotifyCollectionChangedAction action

    The collection changed action i.e. whether an item is added, removed, replaced, reset or moved in the collection.

    Properties

    Action

    Gets the collection changed action i.e. whether an item is added, removed, replaced, reset or moved in the collection.

    Declaration
    public NotifyCollectionChangedAction Action { get; }
    Property Value
    Type
    NotifyCollectionChangedAction

    AddedItems

    Gets a list that contains the items that were sorted.

    Declaration
    public IList<SortColumnDescription> AddedItems { get; }
    Property Value
    Type
    IList<SortColumnDescription>

    RemovedItems

    Gets a list that contains the items that were unsorted.

    Declaration
    public IList<SortColumnDescription> RemovedItems { get; }
    Property Value
    Type
    IList<SortColumnDescription>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved