Entry.SetAdjustsFontSizeToFitWidth Method
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.
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
- System.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
- System.Boolean
The new property value to assign.
Returns
The updated configuration object on which developers can make successive method calls.