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)
- Source:
- Entry.cs
- Source:
- Entry.cs
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(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetAdjustsFontSizeToFitWidth (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetAdjustsFontSizeToFitWidth : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetAdjustsFontSizeToFitWidth (element As BindableObject, value As Boolean)
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)
- Source:
- Entry.cs
- Source:
- Entry.cs
Sets a Boolean value that tells whether automatic font size adjusmtent is enabled on the element.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ SetAdjustsFontSizeToFitWidth(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> SetAdjustsFontSizeToFitWidth (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> config, bool value);
static member SetAdjustsFontSizeToFitWidth : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry>
<Extension()>
Public Function SetAdjustsFontSizeToFitWidth (config As IPlatformElementConfiguration(Of iOS, Entry), value As Boolean) As IPlatformElementConfiguration(Of iOS, 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
The updated configuration object on which developers can make successive method calls.