Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

#Declaration

public AppearanceObject(
    List<IConditionalAppearanceItem> items
)

#Parameters

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.

#Remarks

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