Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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