True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid.BaseGrid Namespace / Frame Class / UseCompatibleTextRendering Property

In This Topic
    UseCompatibleTextRendering Property (Frame)
    In This Topic
    Specifies whether text rendering should be compatible with previous releases of WinForms.
    Syntax
    'Declaration
     
    Public Property UseCompatibleTextRendering As System.Boolean
    public System.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