RecordsNavigationController.PreviousObjectAction Property
Provides access to the RecordsNavigationController‘s PreviousObject Action.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
SimpleAction | A SimpleAction object representing the PreviousObject Action. |
Remarks
The PreviousObject Action is intended to navigate to the previous object in the collection source. When using this Action for a List View, the previous object in the View’s editor is selected. When using this Action in a Detail View that displays an object currently selected in a List View, the previous object in the List View’s editor is shown in the Detail View.
In a Windows Forms application:
In an ASP.NET application:
This Action’s Execute event is handled by the MoveToPrevious method. If you need to customize the way this Action works, handle its Execute event, or inherit from the RecordsNavigationController and override the MoveToPrevious method.
The PreviousObject Action is active when the current List View’s editor supports focused row selection.
The PreviousObject Action is enabled when a single object is currently selected in a List View. When the currently selected object is the first one in the collection, the PreviousObject Action is disabled.
Information on the PreviousObject Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.
Note
A ListEditor should support the IControlOrderProvider interface to support the PreviousObjectAction Action.