Szerkesztés

Megosztás a következőn keresztül:


UITextField.AdjustsFontSizeToFitWidth Property

Definition

A Boolean that controls if the font should be scaled down to ensure the text fits in the control.

public virtual bool AdjustsFontSizeToFitWidth { [Foundation.Export("adjustsFontSizeToFitWidth")] get; [Foundation.Export("setAdjustsFontSizeToFitWidth:")] set; }
member this.AdjustsFontSizeToFitWidth : bool with get, set

Property Value

Default value is false.

Attributes

Remarks

If this property is set to true, then the control will reduce the size of the font so that all the text can be displayed in the control or font reaches the MinimumFontSize.

Applies to