Skip to main content

TileItemElement.Appearance Property

Provides access to appearance settings used to paint the current TileItemElement‘s

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Appearance")]
public TileItemAppearances Appearance { get; }

Property Value

Type Description
TileItemAppearances

A TileItemAppearances object that stores appearance settings used to paint the current TileItemElement‘s

Remarks

The TileItemElements’ appearance can be customized in three ways. The TileControl.AppearanceItem property provides access to global appearance settings used throughout the entire TileControl. Use the TileItem.AppearanceItem property to override these settings for individual TileItems. The Appearance property allows you to customize tile item content at the lowest level, applying appearance settings to individual elements.

Using the Appearance property, you can customize the current TileItemElement‘s text content appearance in the regular, selected (see the TileControl.AllowSelectedItem topic) and hovered states. Notice that HTML-formatted strings used within TileItemElements (see TileControl.AllowHtmlText) can’t be customized using the Appearance property appearance settings. For example, the ‘ForeColor’ appearance setting value is not used to paint an element’s text if it uses the <color/> tag.

See Also