Skip to content

BackColor Property

Description

The background color of the GridControl.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property BackColor() As ULong

Remarks

This is the background color for the entire GridControl. All GridRecordItems will use this as their BackColor 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 BackColor Sample (Visual Basic)

This sample illustrates how to change the BackColor for the entire GridControl.

' This will change the BackColor of the GridControl to a shade of gray  
wndGridControl.PaintManager.BackColor = RGB(224, 224, 224)

See Also


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