Skip to main content

TextInfoControlBase.AutoScaleFont Property

Gets or sets whether the control’s font is modified automatically, so that the text fits the control’s dimensions.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.1.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool AutoScaleFont { get; set; }

Property Value

Type Default Description
Boolean true

true to scale the control’s font automatically; otherwise, false.

Remarks

The AutoScaleFont is set to true to make the font size smaller as the text becomes longer, so that it always fits the control’s boundaries. To maintain the font size, turn off autoscaling by setting the AutoScaleFont to false.

See Also