Back to Devexpress

WinExplorerView.MoveFirst() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerview-9878d43b.md

latest2.6 KB
Original Source

WinExplorerView.MoveFirst() Method

Selects the first item within this WinExplorerView.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public override void MoveFirst()
vb
Public Overrides Sub MoveFirst

Remarks

The MoveFirst method scrolls the current WinExplorerView to the top and selects its first item, whether it is a data record or a group header (if the WinExplorerViewColumns.GroupColumn property is specified). You can also use the WinExplorerView.MovePrevPage and WinExplorerView.MovePrev methods to navigate back from the currently selected item. To select the very last WinExplorerView item, use the WinExplorerView.MoveLast method instead.

The animation below demonstrates how the MoveFirst method works within a WinExplorerView with a grouping applied.

See Also

MovePrevPage()

MovePrev()

MoveLast()

WinExplorerView Class

WinExplorerView Members

DevExpress.XtraGrid.Views.WinExplorer Namespace