Class
VirtualGridSelectedCellsChangingEventArgs

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.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

cs-api-definition
public class VirtualGridSelectedCellsChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsVirtualGridSelectedCellsChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

VirtualGridSelectedCellsChangingEventArgs(IList<VirtualGridCellInfo>, IList<VirtualGridCellInfo>)

Initializes a new instance of the VirtualGridSelectedCellsChangingEventArgs class.

Declaration

cs-api-definition
public VirtualGridSelectedCellsChangingEventArgs(IList<VirtualGridCellInfo> addedCells, IList<VirtualGridCellInfo> removedCells)

Parameters

addedCells

IList<VirtualGridCellInfo>

Cells that were added.

removedCells

IList<VirtualGridCellInfo>

Cells that were removed.

VirtualGridSelectedCellsChangingEventArgs(IList<VirtualGridCellInfo>, IList<VirtualGridCellInfo>, bool)

Initializes a new instance of the VirtualGridSelectedCellsChangingEventArgs class.

Declaration

cs-api-definition
public VirtualGridSelectedCellsChangingEventArgs(IList<VirtualGridCellInfo> addedCells, IList<VirtualGridCellInfo> removedCells, bool isCancelable)

Parameters

addedCells

IList<VirtualGridCellInfo>

Cells that were added.

removedCells

IList<VirtualGridCellInfo>

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<VirtualGridCellInfo> AddedCells { get; }

Property Value

IList<VirtualGridCellInfo>

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<VirtualGridCellInfo> RemovedCells { get; }

Property Value

IList<VirtualGridCellInfo>