Skip to main content

CardViewAppearances.CardCaption Property

Gets the appearance settings used to paint card captions.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public AppearanceObject CardCaption { get; }

Property Value

Type Description

A AppearanceObject object which provides appearance settings for painting card captions.


This property allows the appearance settings of all card captions within a View to be customized. This includes the background and foreground colors, gradient mode, background image and font settings. The captions of individual cards can also be drawn via the CardView.CustomDrawCardCaption event.

The BackColor and BackColor2 properties provided by the CardCaption object are not supported in skinning paint schemes.

The Image property provided by the CardCaption object is not supported in the Office2003, Native(WindowsXP), MixedXP and skinning paint schemes.

To display small icons within card captions, handle the CardView.CustomCardCaptionImage event.

Refer to the Appearance and Conditional Formatting document, for more information on appearances.

See Also