ComponentOne FlexGrid for WinForms
UseCompatibleTextRendering Property

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : UseCompatibleTextRendering Property
Specifies whether text rendering should be compatible with previous releases of WinForms.
Syntax
'Declaration
 
Public Property UseCompatibleTextRendering As Boolean
public bool UseCompatibleTextRendering {get; set;}
Remarks

This property determines whether the control should render text using the System.Drawing.Graphics class (compatible with previous versions), or the new System.Windows.Forms.TextRenderer class (available in .NET 2.0 and later).

The System.Windows.Forms.TextRenderer class supports complex scripts and Uniscribe APIs, making it better suited for some international applications.

However, the System.Windows.Forms.TextRenderer class seems to render about 25% slower than the traditional method.

You may want to try both modes and select the one that matches the appearance of other controls and forms in your application.

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members