CellFontItalic

Returns or sets the italic style for the current cell text. Not available at design time.

Syntax

object.CellFontItalic [= boolean ]

The CellFontItalic property syntax has these parts:

Part Description
object An object expression that evaluates to an object.
boolean Determines whether the text style in the cell is italic. The property is False by default.

Remarks

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 Italic whenever the Grid control is in focus: