menu

WinForms

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

    Show / Hide Table of Contents

    Class GridPrepareChangeSelectionEventArgs

    Provides data about the PrepareChangeSelection event.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    GridPrepareChangeSelectionEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridPrepareChangeSelectionEventArgs : SyncfusionEventArgs
    Remarks

    GridPrepareChangeSelectionEventArgs is a custom event argument class used by the PrepareChangeSelection event.

    This event is raised by the model to notify all associated views that there has been a change to the current selection in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically.

    Constructors

    GridPrepareChangeSelectionEventArgs(GridRangeInfo, GridRangeInfo)

    Initializes the new instances of the GridPrepareChangeSelectionEventArgs class.

    Declaration
    public GridPrepareChangeSelectionEventArgs(GridRangeInfo oldRange, GridRangeInfo newRange)
    Parameters
    Type Name Description
    GridRangeInfo oldRange

    The previous boundaries of the selected range.

    GridRangeInfo newRange

    The new boundaries of the selected range.

    Properties

    NewRange

    Gets the new boundaries of the selected range.

    Declaration
    [TraceProperty(true)]
    public GridRangeInfo NewRange { get; }
    Property Value
    Type
    GridRangeInfo

    OldRange

    Gets the previous boundaries of the selected range.

    Declaration
    [TraceProperty(true)]
    public GridRangeInfo OldRange { get; }
    Property Value
    Type
    GridRangeInfo

    See Also

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