Back to Devexpress

ColumnView.IsFirstRow Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-7bbd3b07.md

latest3.1 KB
Original Source

ColumnView.IsFirstRow Property

Determines whether the first visible data or group row is focused.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public bool IsFirstRow { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsFirstRow As Boolean

Property Value

TypeDescription
Boolean

true if the first visible data or group row is focused; otherwise, false.

|

Remarks

If the New Item Row (Card) is displayed at the top and it’s focused, the IsFirstRow property returns false. Also, false is returned if the Auto Filter Row is focused.

Note

Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the IsFirstRow member must not be invoked for these Views. The IsFirstRow member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also

MoveFirst()

Focus Data Grid Cells

Rows

IsLastRow

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace