Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CardViewAppearances.CardCaption Property

Gets the appearance settings used to paint card captions.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.2.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