menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataGridSortColumnsChangedEventArgs - API Reference

    Show / Hide Table of Contents

    Class DataGridSortColumnsChangedEventArgs

    Provides data for the SortColumnsChanged event.

    Inheritance
    System.Object
    DataGridSortColumnsChangedEventArgs
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public sealed class DataGridSortColumnsChangedEventArgs : EventArgs

    Constructors

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

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

    Declaration
    public DataGridSortColumnsChangedEventArgs(IList<SortColumnDescription> addedItems, IList<SortColumnDescription> removedItems, NotifyCollectionChangedAction action)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<SortColumnDescription> addedItems

    The collection of new added columns in sorting.

    System.Collections.Generic.IList<SortColumnDescription> removedItems

    The collection of columns which are removed from sorting.

    System.Collections.Specialized.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 Description
    System.Collections.Specialized.NotifyCollectionChangedAction

    AddedItems

    Gets a list that contains the items that were sorted.

    Declaration
    public IList<SortColumnDescription> AddedItems { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<SortColumnDescription>

    RemovedItems

    Gets a list that contains the items that were unsorted.

    Declaration
    public IList<SortColumnDescription> RemovedItems { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<SortColumnDescription>
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved