Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

AppearanceObject.Items Property

Provides access to a collection of appearance items that together, form a resulting appearance to be applied.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v20.2.dll

Declaration

public List<IConditionalAppearanceItem> Items { get; }

Property Value

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

A list of IConditionalAppearanceItem objects representing appearance customizations of different types.

Remarks

The Conditional Appearance module allows you to apply appearance customizations of different types: change the background color, font color, font style, visibility and enabled states. Some of these customizations can be applied simultaneously. The AppearanceObject stores a list of appearance customizations which together form the resulting appearance to be applied to a target item. Appearance customizations are represented by the following appearance items:

  • AppearanceItemEnabled
  • AppearanceItemVisibility
  • AppearanceItemFontStyle
  • AppearanceItemFontColor
  • AppearanceItemBackColor

The Items property provides access to the list that contains items of the appearance item types presented above. For instance, when you get the value of the AppearanceObject.Enabled property, the Enabled property value of the AppearanceItemEnabled appearance item from the Items collection is returned.

Normally, you don’t have to use this property. To get whether a particular appearance customization is specified, use the AppearanceObject‘s AppearanceObject.Enabled, AppearanceObject.Visibility, AppearanceObject.BackColor, AppearanceObject.FontColor and AppearanceObject.FontStyle properties.

See Also