alexa
menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class GridSelectionChangedEventArgs

    Provides data for the SelectionChanged event.

    Inheritance
    System.Object
    GridEventArgs
    GridSelectionChangedEventArgs
    Inherited Members
    GridEventArgs.OriginalSender
    Namespace: Syncfusion.UI.Xaml.Grids
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class GridSelectionChangedEventArgs : GridEventArgs
    Remarks

    This event occurs after the SelectionChanging event if that event is not canceled. It is raised only for keyboard and mouse interactions, and the AddedItems and RemovedItems collections report the items that were added to or removed from the current selection.

    Constructors

    GridSelectionChangedEventArgs(Object)

    Initializes a new instance of the GridSelectionChangedEventArgs class.

    Declaration
    public GridSelectionChangedEventArgs(object originalSource)
    Parameters
    Type Name Description
    System.Object originalSource

    The source of the event.

    Properties

    AddedItems

    Gets a list that contains the items that were added to the selection.

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

    The list of items that were selected by the user.

    RemovedItems

    Gets a list that contains the items that were removed from the selection.

    Declaration
    public IList<object> RemovedItems { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.Object>

    The list of items that were unselected by the user.

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