menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class DataGridSortColumnsChangedEventArgs

    Represents the data for the SortColumnsChanged event.

    Inheritance
    System.Object
    DataGridSortColumnsChangedEventArgs
    Namespace: Syncfusion.SfDataGrid
    Assembly: Syncfusion.SfDataGrid.Android.dll
    Syntax
    public sealed class DataGridSortColumnsChangedEventArgs : EventArgs

    Constructors

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

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

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

    The list of items added for sorting.

    System.Collections.Generic.IList<SortColumnDescription> removedItems

    The list of items removed from the sorting.

    System.Collections.Specialized.NotifyCollectionChangedAction action

    The System.Collections.Specialized.NotifyCollectionChangedAction that represents collection changed action i.e. whether an item is added, removed, replaced, reset or moved in the collection.

    System.Object originalSource

    The SfDataGrid that raises the event.

    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

    Returns the System.Collections.Specialized.NotifyCollectionChangedAction that represents the collection changed action.

    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>

    The list of items added to sorting.

    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>

    The list of items removed from sorting.

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