The requested page is not available for the requested platform. You are viewing the content for Default platform.

IAppearanceEnabled Interface

Declares members implemented by the UI elements that can be disabled or enabled by a conditional appearance rule.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public interface IAppearanceEnabled :
    IAppearanceBase
Public Interface IAppearanceEnabled
    Inherits IAppearanceBase

Remarks

The Conditional Appearance module allows you to enable/disable specific UI elements when they are displayed under certain conditions. To allow the AppearanceController to disable/enable UI elements, they should implement the IAppearanceEnabled interface. This interface exposes the IAppearanceEnabled.Enabled property, to get or set the enabled state, and the IAppearanceEnabled.ResetEnabled method, to reset the enabled state to the required initial value.

This interface is already implemented by base classes representing built-in XAF Detail View Items, Layout Items, Action Appearance Items and auxiliary adapters that provide access to List Editor cells. Implement the IAppearanceEnabled interface in a custom class representing a UI element so that this element can also be disabled/enabled by the AppearanceController.

See Also