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.1.dll
NuGet Package: DevExpress.ExpressApp.ConditionalAppearance
Declaration
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.