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
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
- Windows Forms
- ASP.NET Web Forms
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.