Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

WinControlDrawMethod Enum

Specifies how the Windows Forms control that is embedded using a WinControlContainer should be drawn in a report.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public enum WinControlDrawMethod

#Members

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.

#Related API Members

The following properties accept/return WinControlDrawMethod values:

#Remarks

Use this enumeration’s members to determine what drawing method is used to draw the specified Windows Forms control. This enumeration is used by the WinControlContainer.DrawMethod property.

See Also