Returns or sets the bold style for the current cell text. Not available at design time.
object.CellFontBold [= boolean ]
The CellFontBold property syntax has these parts:
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
boolean | Determines whether the current cell text is bold. The property is False by default. |
Changing this property affects the current cell or the current selection, depending on the setting of the FillStyle property. The following code sets the text of the current cell to bold whenever the Grid control is in focus: