Skip to main content

StylePriority.UseFont Property

Gets or sets a value indicating whether the control’s font should be obtained from the XRControl.Font property, or from a style assigned to it.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.1.dll

NuGet Package: DevExpress.Reporting.Core


public bool UseFont { get; set; }

Property Value

Type Description

true if the font should be obtained from a style; false if the font should be obtained from the control’s Font property.


By default, the UseFont property is set to true, which means that if any style is assigned to a control’s via its XRControl.Styles property, then the control’s font is obtained from this style. If you want the font to be determined by a report control, not by its style, set the UseFont property to false.

To learn more, see Report Visual Styles.

See Also