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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RefreshController class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.