Skip to main content
.NET 6.0+

RecordsNavigationController.CanMoveBy() Method

Indicates whether you can currently navigate to the previous object and\or next object.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual RecordsNavigationController.MovementDirection CanMoveBy()

Returns

Type Description
DevExpress.ExpressApp.SystemModule.RecordsNavigationController.MovementDirection

A MovementDirection enumeration value.

Remarks

The following values are available:

  • MovementDirection.None

    Navigation is not available to either the previous or next object.

  • MovementDirection.Forward

    Navigation is available to the next object.

  • MovementDirection.Previous

    Navigation is available to the previous object.

  • MovementDirection.All

    Navigation is available to both the previous and next object.

This method is called by the UpdateActionState method, to determine whether to make the NextObject and PreviousObject Actions enabled\disabled.

See Also