The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

AppearanceController.Refresh() Method

Refreshes the conditional appearance provided by the Controllers registered in the Appearance Controller.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v19.2.dll

Declaration

public bool Refresh()
Public Function Refresh As Boolean
public bool Refresh()
Public Function Refresh As Boolean
public bool Refresh()
Public Function Refresh As Boolean

Returns

Type Description
Boolean

true, on successful execution, otherwise - false;

Returns

Type Description
Boolean

true, on successful execution, otherwise - false;

Returns

Type Description
Boolean

true, on successful execution, otherwise - false;

Remarks

This method calls the ISupportRefreshItemsAppearance.RefreshViewItemsAppearance method of the Controllers registered in the Appearance Controller. For details, refer to the AppearanceController.RegisterController method description.

The following list details when the Refresh method is called by default:

Call this method in your Controller to provide a custom scenario when the conditional appearance of the Detail View Items, Layout Items and Groups and Actions must be refreshed.

This method is not reentrant, however you can call it repeatedly and it will do nothing and raise no exceptions. For more details, inspect the returned value and the AppearanceController.IsInRefresh property. False result is returned when this method doesn't perform any action and in the following cases:

See Also