Skip to main content
.NET Framework 4.5.2+

AppearanceObject(List<IConditionalAppearanceItem>) Constructor

Creates a new instance of the AppearanceObject using the specified appearance items collection.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v23.1.dll


public AppearanceObject(
    List<IConditionalAppearanceItem> items


Name Type Description
items List<DevExpress.ExpressApp.ConditionalAppearance.IConditionalAppearanceItem>

A list of IConditionalAppearanceItem objects specifying the appearance to be applied. This list is assigned to the AppearanceObject.Items property.


Basically, you don’t need to create an AppearanceObject, because it’s created internally by combining appearance items generated from the conditional appearance rules that are found for the target UI element. However, you can access an AppearanceObject created for a specific UI element using the AppearanceObject parameter of the AppearanceController.CustomApplyAppearance or AppearanceController.AppearanceApplied event handler.

See Also