Back to Devexpress

VGridControlBase.LeftVisibleRecord Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-bce01619.md

latest2.1 KB
Original Source

VGridControlBase.LeftVisibleRecord Property

Gets or sets the leftmost visible record.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[Browsable(false)]
public int LeftVisibleRecord { get; set; }
vb
<Browsable(False)>
Public Property LeftVisibleRecord As Integer

Property Value

TypeDescription
Int32

A zero-based integer value that specifies the index of the leftmost visible record.

|

Remarks

If the total record width exceeds the grid’s client area, an end-user can scroll the control’s content horizontally. The LeftVisibleRecord property specifies the index of the leftmost visible record. Assigning a value to this property results in scrolling to the specified record. This can be useful if you need to scroll the vertical grid’s content in code.

If the LayoutViewStyle.MultiRecordView layout style is applied, the maximum value the LeftVisibleRecord property can be set to is the difference between the total records count and the number of records visible on screen.

See Also

FocusedRecord

RecordCount

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace