Skip to main content
A newer version of this page is available. .

RefreshController Class

Represents a ViewController descendant that contains the Refresh Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public class RefreshController :
    ViewController

Remarks

The RefreshController is intended for presenting the Refresh Action.

For details on the Refresh Action, refer to the description of the RefreshController.RefreshAction property that provides access to this Action.

To customize the default behavior of the Refresh Action, you can inherit from this Controller or access the Action in another Controller.

If you need to inherit from the RefreshController, the following protected virtual methods are availabe for overriding:

Method When is it called? Description
Refresh Invoked as a result of executing the Refresh Action. Represents the Refresh Action’s SimpleAction.Execute event handler. Refreshes object(s) from the current Object Space (see BaseObjectSpace.Refresh).
UpdateActionState Invoked as a result of changes made to the current View’s Object Space: Checks whether the Refresh Action’s active or enabled state should be changed, after the environment has been changed.

Public members are described individually in the documentation.

This Controller is activated for all Views. To ascertain whether the Controller is active, use the Controller.Active property. If you need to know the reason for its deactivation or activation at runtime, use the DiagnosticInfo Action.

Information on the RefreshController and its Refresh Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.

Implements

See Also