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.v18.1.dll

Syntax

public AppearanceObject(
    List<IConditionalAppearanceItem> items
)

Parameters

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

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.