New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class GridViewSelectedCellsChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewSelectedCellsChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the GridViewSelectedCellsChangingEventArgs class.

C#
public GridViewSelectedCellsChangingEventArgs(IList<GridViewCellInfo> addedCells, IList<GridViewCellInfo> removedCells, bool isCancelable)
Parameters:addedCellsIList<GridViewCellInfo>

Cells that were added.

removedCellsIList<GridViewCellInfo>

Cells that were removed.

isCancelablebool

Indicates if this event is cancelable.

Initializes a new instance of the GridViewSelectedCellsChangingEventArgs class.

C#
public GridViewSelectedCellsChangingEventArgs(IList<GridViewCellInfo> addedCells, IList<GridViewCellInfo> removedCells)
Parameters:addedCellsIList<GridViewCellInfo>

Cells that were added.

removedCellsIList<GridViewCellInfo>

Cells that were removed.

Properties

The cells that were added.

C#
public IList<GridViewCellInfo> AddedCells { get; }

Gets a value that indicates whether the event is cancelable.

C#
public bool IsCancelable { get; }
Property Value:

true if this event is cancelable; otherwise, false.

The cells that were removed.

C#
public IList<GridViewCellInfo> RemovedCells { get; }