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.v20.1.Reporting.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool AutoScaleFont { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AutoScaleFont As Boolean

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