XtraMessageBoxArgs.UseGdiPlusTextPainter Property
Gets or sets whether to use GDI+ to render strings.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to use GDI+ to render strings; otherwise, false. |
Remarks
Set the UseGdiPlusTextPainter property to true to use GDI+ to render strings. This setting is required to render the tab characters correctly.
XtraMessageBoxArgs args = new XtraMessageBoxArgs();
args.UseGdiPlusTextPainter = true;
args.Text = "TestTes \t\t\t aaa \nTest\t\t\t bbb";
XtraMessageBox.Show(args);
Use the StringFormat.SetTabStops(Single, Single[]) method to specify tab stops. Call this method when the application starts.
See Also