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

Provides data for the SelectionChanging event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class VirtualGridSelectionChangingEventArgs : VirtualGridCellEventArgs

Inheritance: objectEventArgsVirtualGridEventArgsVirtualGridCellEventArgsVirtualGridSelectionChangingEventArgs

Inherited Members VirtualGridCellEventArgs.RowIndexVirtualGridCellEventArgs.ColumnIndexVirtualGridEventArgs.ViewInfoEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridSelectionChangingEventArgs class.

C#
public VirtualGridSelectionChangingEventArgs(VirtualGridSelectionAction selectionAction, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:selectionActionVirtualGridSelectionAction

The selection action.

rowIndexint

Index of the row.

columnIndexint

Index of the column.

viewInfoVirtualGridViewInfo

The view info.

Properties

Gets or sets a value indicating whether the event is canceled.

C#
public bool Cancel { get; set; }

Gets the selection action that triggered the change.

C#
public VirtualGridSelectionAction SelectionAction { get; }