UITextField.AdjustsFontSizeToFitWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.