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

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