Skip to content

ForeColor Property

Description

The foreground color of the GridControl.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property ForeColor() As ULong

Remarks

This is the foreground color for the entire GridControl. All GridRecordItems will use this as their ForeColor unless the value is manually changed. You can assign an RGB value, a Hex value, or a Visual Basic constant to this property.

Example

GridControl ForeColor/Text Color Sample (Visual Basic)

This sample illustrates how to change the ForeColor/text color for the entire GridControl.

' This will change the ForeColor/text color of the GridControl to red
wndGridControl.PaintManager.ForeColor = vbRed

See Also


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