ComponentOne True DBGrid for WinForms
UseCompatibleTextRendering Property

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid.BaseGrid Namespace > Frame Class : UseCompatibleTextRendering Property
Specifies whether text rendering should be compatible with previous releases of WinForms.
Public Property UseCompatibleTextRendering As System.Boolean
public System.bool UseCompatibleTextRendering {get; set;}

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


Frame Class
Frame Members