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

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

C#
public class VirtualGridSelectedCellsChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsVirtualGridSelectedCellsChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridSelectedCellsChangingEventArgs class.

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

Cells that were added.

removedCellsIList<VirtualGridCellInfo>

Cells that were removed.

isCancelablebool

Indicates if this event is cancelable.

Initializes a new instance of the VirtualGridSelectedCellsChangingEventArgs class.

C#
public VirtualGridSelectedCellsChangingEventArgs(IList<VirtualGridCellInfo> addedCells, IList<VirtualGridCellInfo> removedCells)
Parameters:addedCellsIList<VirtualGridCellInfo>

Cells that were added.

removedCellsIList<VirtualGridCellInfo>

Cells that were removed.

Properties

The cells that were added.

C#
public IList<VirtualGridCellInfo> 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<VirtualGridCellInfo> RemovedCells { get; }