The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v18.2.dll

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool UseFont { get; set; }
<TypeConverter(GetType(BooleanTypeConverter))>
<XtraSerializableProperty>
Public Property UseFont As Boolean

Property Value

Type Description
Boolean

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

Remarks

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