UIKit.UITextField.AdjustsFontSizeToFitWidth Property
A stem.Boolean that controls if the font should be scaled down to ensure the text fits in the control.

Syntax

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

Value

Default value is false.

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 UITextField.MinimumFontSize.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0