Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RecordsNavigationController.PreviousObjectAction Property

Provides access to the RecordsNavigationController‘s Previous Object Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public SimpleAction PreviousObjectAction { get; }

#Property Value

Type Description
SimpleAction

A SimpleAction object that is the Previous Object Action.

#Remarks

Use the Previous Object Action to navigate to the previous object in the collection source. In a List View, this Action selects the previous object. In a corresponding Detail View, this Action displays properties of the previous object.

ASP.NET Core Blazor
Records Navigation Controller Previous Object Action in ASP.NET Core Blazor, DevExpress
Windows Forms
Records Navigation Controller Previous Object Action in Windows Forms, DevExpress
ASP.NET Web Forms
Records Navigation Controller Previous Object Action in ASP.NET Web Forms, DevExpress

Use the MoveToPrevious method to handle the Previous Object Action’s Execute event.

To customize the Action, handle the Action’s Execute event or inherit from DevExpress.ExpressApp.Blazor.SystemModule.BlazorRecordsNavigationController (ASP.NET Core Blazor), RecordsNavigationController (Windows Forms), or DevExpress.ExpressApp.Web.SystemModule.WebRecordsNavigationController (ASP.NET Web Forms) and override the MoveToPrevious method.

The Previous Object Action is active when the current List View’s editor supports focused row selection.

The Previous Object Action is enabled when an object is selected in a List View. When the selected object is the first one in the collection, the Previous Object Action is disabled.

Information on the Previous Object Action is available in the Application Model‘s IModelActionDesign node. To access it, use the Model Editor.

Note

A ListEditor should implement the IControlOrderProvider interface to support the Previous Object Action.

See Also