WinControlContainer.DrawMethod Property

Gets or sets the type of the method that is used to draw a Windows Forms control in a report.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[DefaultValue(WinControlDrawMethod.UseWMPaint)]
public virtual WinControlDrawMethod DrawMethod { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
<DefaultValue(WinControlDrawMethod.UseWMPaint)>
Public Overridable Property DrawMethod As WinControlDrawMethod

Property Value

Type Default Description
WinControlDrawMethod

UseWMPaint

A WinControlDrawMethod enumeration value.

Remarks

How a Windows Forms control (represented by a WinControlContainer object) is drawn in a report depends on its type. This enumeration allows the method that will be used to draw the control to be matched with its type, ensuring that the control is correctly represented in a report.

See Also