Skip to content

CaptionForeColor Property

Description

The CaptionForeColor property defines the foreground color of the column headers.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property CaptionForeColor() As ULong

Remarks

This color is also used as the foreground color of the column headers in the Group By box and column headers in the FieldChooser. You can assign an RGB value, a Hex value, or a Visual Basic constant to this property.

Example

This sample illustrates how to change the CaptionForeColor of column headers.

' This will change the Caption color of column headers to Red
wndGridControl.PaintManager.CaptionForeColor = vbRed

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.