When the border margin size is more than the text size, the text is cut off on display.
The following image shows the text cut off.
Figure 1: Text cut off
To avoid this problem of the text being cut off, use the Font.Unit property in the QueryCellStyleInfo event, and set the value to GraphicsUnit.World.
After applying the properties, the Grid is displayed as follows.
Figure 2: Grid with applied properties
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|