DataControlBase.TopRowIndex Property

Gets or sets the index of the top visible row.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.2.dll

Declaration

public int TopRowIndex { get; set; }
Public Property TopRowIndex As Integer

Property Value

Type Description
Int32

An integer value that specifies the index of the top visible row.

Remarks

Use the TopRowIndex property to scroll the view and display the specified row at the top of the view in code. Setting the TopRowIndex property to a negative value automatically sets it to 0. Setting he TopRowIndex property to a value greater than the maximum allowed top row automatically reverts it to this maximum.

See Also