LayoutViewAppearances.FocusedCardCaption Property
Gets the appearance settings used to paint the focused card’s caption in a LayoutView.
Namespace: DevExpress.XtraGrid.Views.Layout
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
AppearanceObject | The appearance settings used to paint the focused card’s caption in a LayoutView. |
Remarks
To customize the default appearance settings used to paint all card captions, use the LayoutViewAppearances.CardCaption property.
The FocusedCardCaption property allows you to customize appearance options of the focused card’s caption. Use the following settings:
the FocusedCardCaption.BorderColor setting to change the card caption background and border color
In different skins and control states, the control can apply the specified color as is, apply the color’s hue or blend the color with a corresponding skin element.
- the FocusedCardCaption.ForeColor setting to change the text color. This property is in effect in any of the following cases: 1)the BorderColor setting is not set; 2) the WindowsFormsSettings.AutoCorrectForeColor property is set to False
- the FocusedCardCaption.Font* settings to adjust the text font attributes.
Handle the LayoutView.CustomCardStyle event to customize the appearance settings of individual card captions.
To display small icons within card captions, handle the LayoutView.CustomCardCaptionImage event.
Refer to the Appearance and Conditional Formatting document for information on appearances.