Skip to main content

FontOptionsViewModel(String, Color, Double, FontStyle, FontWeight) Constructor

Initializes a new instance of the FontOptionsViewModel class with specified settings.

Namespace: DevExpress.Xpf.Reports.UserDesigner.ReportWizard.Pages

Assembly: DevExpress.Xpf.ReportDesigner.v24.1.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public FontOptionsViewModel(
    string fontName,
    Color color,
    double fontSize,
    FontStyle style,
    FontWeight weight
)

Parameters

Name Type Description
fontName String

A string that specifies the font name.

color Color

A Color value.

fontSize Double

A Double value specifying the font size.

style FontStyle

A FontStyle value.

weight FontWeight

A FontWeight value.

See Also