IAppearanceEnabled.ResetEnabled() Method
Resets a UI element’s enabled state, if it has been changed by a conditional appearance rule.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Remarks
The UI elements that implement the IAppearanceEnabled interface can be disabled/enabled by the AppearanceController according to conditional appearance rules. At the same time, you can reset the applied enabled 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 IAppearanceEnabled interface and using the ResetEnabled method.