Skip to main content
.NET 8.0+

IAppearanceVisibility Interface

Declares members implemented by the UI elements that can be made invisible or visible by a conditional appearance rule.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public interface IAppearanceVisibility :
    IAppearanceBase

Remarks

The Conditional Appearance module allows you to make different UI elements visible/invisible when they are displayed in certain conditions. To allow the AppearanceController to make UI elements visible/invisible, these elements should implement the IAppearanceVisibility interface. This interface exposes the IAppearanceVisibility.Visibility property, to get or set the visibility state, and the IAppearanceVisibility.ResetVisibility method, to reset the visibility 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 IAppearanceVisibility interface in a custom class representing a UI element so that this element can also be made visible/invisible by the AppearanceController.

See Also