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

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

In This Article

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

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

Assembly: DevExpress.Xpf.ReportDesigner.v24.2.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