Skip to main content

Card Caption

A card‘s caption displays information that identifies the card and also contains a button used to collapse and expand the card.

Display Custom Images within Card Captions - WinForms Grid, Layout View

The following table lists the main properties that affect element appearance.

Appearance

The LayoutViewAppearances.FocusedCardCaption and LayoutViewAppearances.CardCaption properties provide appearance settings depending upon whether or not the card is focused.

The LayoutView.CustomCardStyle event.

Custom Drawing

The LayoutView.CustomDrawCardCaption event.

Contents

The pattern string to display within the caption is specified by the LayoutView.CardCaptionFormat property. To get the actual text, use the LayoutView.GetCardCaption method.

The LayoutView.CustomCardCaptionImage event can be handled to display custom images within card captions.

Visibility

LayoutViewOptionsView.ShowCardCaption

See Also