public class RefreshController : ViewController
Public Class RefreshController Inherits ViewController
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.