Skip to main content
A newer version of this page is available. .

WindowControlOptions.DrawMethod Property

Specifies the rendering mode of a Windows Forms control hosted in the WindowControlOptions.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[DefaultValue(WinControlDrawMethod.UseWMPaint)]
public WinControlDrawMethod DrawMethod { get; set; }

Property Value

Type Default Description
WinControlDrawMethod **UseWMPaint**

A WinControlDrawMethod enumeration value.

Available values:

Name Description
UseWMPaint

Use the WM_PAINT message to draw the Windows Forms control.

UseWMPrint

Use the WM_PRINT message to draw the Windows Forms control.

UseWMPaintRecursive

Use the WM_PAINT message to recursively draw the Windows Forms control and all its child controls.

UseWMPrintRecursive

Use the WM_PRINT message to recursively draw the Windows Forms control and all its child controls.

Property Paths

You can access this nested property as listed below:

Object Type Path to DrawMethod
PrintableComponentContainer
.WindowControlOptions.DrawMethod
See Also