Skip to main content

CardViewAppearances.CardCaption Property

Gets the appearance settings used to paint card captions.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public AppearanceObject CardCaption { get; }

Property Value

Type Description
AppearanceObject

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

Remarks

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