Entry.SetAdjustsFontSizeToFitWidth Method

Definition

Overloads

SetAdjustsFontSizeToFitWidth(BindableObject, Boolean)

Sets a Boolean value that tells whether the entry control automatically adjusts the font size of text that the user enters.

SetAdjustsFontSizeToFitWidth(IPlatformElementConfiguration<iOS,Entry>, Boolean)

Sets a Boolean value that tells whether automatic font size adjusmtent is enabled on the element.

SetAdjustsFontSizeToFitWidth(BindableObject, Boolean)

Sets a Boolean value that tells whether the entry control automatically adjusts the font size of text that the user enters.

public static void SetAdjustsFontSizeToFitWidth (Xamarin.Forms.BindableObject element, bool value);
static member SetAdjustsFontSizeToFitWidth : Xamarin.Forms.BindableObject * bool -> unit

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
Boolean

The new property value to assign.

Applies to

SetAdjustsFontSizeToFitWidth(IPlatformElementConfiguration<iOS,Entry>, Boolean)

Sets a Boolean value that tells whether automatic font size adjusmtent is enabled on the element.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Entry> SetAdjustsFontSizeToFitWidth (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Entry> config, bool value);
static member SetAdjustsFontSizeToFitWidth : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Entry> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Entry>

Parameters

config
IPlatformElementConfiguration<iOS,Entry>

The platform specific configuration that contains the element on which to perform the operation.

value
Boolean

The new property value to assign.

Returns

IPlatformElementConfiguration<iOS,Entry>

The updated configuration object on which developers can make successive method calls.

Applies to