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

XRControl.WidthF Property

Specifies the control’s width (measured in report units).

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[Browsable(false)]
public virtual float WidthF { get; set; }

Property Value

Type Description
Single

A Single value representing the width of the control. This value cannot be less than 2 units.

Remarks

A control’s width and height are measured in the units set by the XtraReport.ReportUnit property.

A control’s height is specified via the XRControl.HeightF property.

Note

Neither the XRControl.HeightF nor the WidthF property can be set to a value that is less than 2 units.

The following code snippets (auto-collected from DevExpress Examples) contain references to the WidthF property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also