Skip to main content
.NET 8.0+

RefreshController.RefreshAction Property

Provides access to the RefreshController‘s Refresh Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public SimpleAction RefreshAction { get; }

Property Value

Type Description
SimpleAction

A SimpleAction object representing the Refresh Action.

Remarks

The Refresh Action is intended to refresh the object(s) represented by the current View.

This Action’s Execute event is handled by the RefreshController‘s Refresh protected method (see the class’ description). If you need to modify the way this Action is executed, inherit from this Controller and override the Refresh method.

By default, the Refresh Action is activated for root Views only (see View.IsRoot).

The Refresh Action is disabled when the object in the current Detail View is new, i.e. the object has not been committed to the database.

To ascertain why the Refresh Action is currently deactivated or disabled, use the DiagnosticInfo Action. If you need to change the Action’s “active” or “enabled” state in code, use its ActionBase.Active or ActionBase.Enabled property, respectively.

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

See Also