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

XRControlStyle(Single) Constructor

Initializes a new instance of the XRControlStyle class with the specified dpi value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public XRControlStyle(
    float dpi
)

Parameters

Name Type Description
dpi Single

A float value which specifies the dpi value used internally in the created XRControlStyle.

Remarks

When using this method the XRControlStyle.Font property is set to BrickStyle.DefaultFont value, the XRControlStyle.BorderWidth property is set to 1, the XRControlStyle.BackColor property is set to Transparent, and the XRControlStyle.ForeColor and XRControlStyle.BorderColor properties are set to ControlText.

See Also