Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsFormsSettings.ForceAPIPaint() Method

In This Article

Enables the mixed use of the DevExpress text rendering library and System.Windows.Forms.TextRenderer class functionality.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public static void ForceAPIPaint()

#Remarks

If the painted string contains characters from the following ranges, the whole text is painted using the methods of the System.Windows.Forms.TextRenderer class:

  • 0x591 - 0x1FFF
  • 0x2C00-0x10FFFF

Otherwise, the text is painted using the methods of the DevExpress.Utils.Text.TextUtils class.

See Also