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

Provides data for the RowHeightChanging event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class VirtualGridRowHeightChangingEventArgs : VirtualGridRowEventArgs

Inheritance: objectEventArgsVirtualGridEventArgsVirtualGridRowEventArgsVirtualGridRowHeightChangingEventArgs

Inherited Members VirtualGridRowEventArgs.RowIndexVirtualGridEventArgs.ViewInfoEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridRowHeightChangingEventArgs class.

C#
public VirtualGridRowHeightChangingEventArgs(int rowIndex, int oldHeight, int newHeight, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

Index of the row.

oldHeightint

The old height.

newHeightint

The new height.

viewInfoVirtualGridViewInfo

The view info.

Properties

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

C#
public bool Cancel { get; set; }

Gets the new row height.

C#
public int NewHeight { get; }

Gets the old row height.

C#
public int OldHeight { get; }