Class
GridViewSelectedCellsChangingEventArgs

Event arguments used for the SelectedCellsChanging event. Provides information about the cells that are about to be added or removed from the SelectedCells collection.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewSelectedCellsChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewSelectedCellsChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

GridViewSelectedCellsChangingEventArgs(IList<GridViewCellInfo>, IList<GridViewCellInfo>)

Initializes a new instance of the GridViewSelectedCellsChangingEventArgs class.

Declaration

cs-api-definition
public GridViewSelectedCellsChangingEventArgs(IList<GridViewCellInfo> addedCells, IList<GridViewCellInfo> removedCells)

Parameters

addedCells

IList<GridViewCellInfo>

Cells that were added.

removedCells

IList<GridViewCellInfo>

Cells that were removed.

GridViewSelectedCellsChangingEventArgs(IList<GridViewCellInfo>, IList<GridViewCellInfo>, bool)

Initializes a new instance of the GridViewSelectedCellsChangingEventArgs class.

Declaration

cs-api-definition
public GridViewSelectedCellsChangingEventArgs(IList<GridViewCellInfo> addedCells, IList<GridViewCellInfo> removedCells, bool isCancelable)

Parameters

addedCells

IList<GridViewCellInfo>

Cells that were added.

removedCells

IList<GridViewCellInfo>

Cells that were removed.

isCancelable

bool

Indicates if this event is cancelable.

Properties

AddedCells

The cells that were added.

Declaration

cs-api-definition
public IList<GridViewCellInfo> AddedCells { get; }

Property Value

IList<GridViewCellInfo>

IsCancelable

Gets a value that indicates whether the event is cancelable.

Declaration

cs-api-definition
public bool IsCancelable { get; }

Property Value

bool

true if this event is cancelable; otherwise, false.

RemovedCells

The cells that were removed.

Declaration

cs-api-definition
public IList<GridViewCellInfo> RemovedCells { get; }

Property Value

IList<GridViewCellInfo>