.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IAppearanceVisibility.ResetVisibility() Method

Resets a UI element’s visibility state, if it has been changed by a conditional appearance rule.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v21.1.dll

Declaration

void ResetVisibility()

Remarks

The UI elements that implement the IAppearanceVisibility interface can be made visible/invisible by the AppearanceController according to conditional appearance rules. At the same time, you can reset the applied visibility state to a default value, if required. For instance, handle the AppearanceController.AppearanceApplied event, access the required item using the ApplyAppearanceEventArgs.Item parameter and reset the enabled state by casting the item to the IAppearanceVisibility interface and using the ResetVisibility method.

See Also