Share via


Entry.EnableAdjustsFontSizeToFitWidth Method

Definition

Enables automatic font size adjustment on the platform-specific element.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ EnableAdjustsFontSizeToFitWidth(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ config);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> EnableAdjustsFontSizeToFitWidth (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> config);
static member EnableAdjustsFontSizeToFitWidth : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry> -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry>
<Extension()>
Public Function EnableAdjustsFontSizeToFitWidth (config As IPlatformElementConfiguration(Of iOS, Entry)) As IPlatformElementConfiguration(Of iOS, Entry)

Parameters

config
IPlatformElementConfiguration<iOS,Entry>

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

Returns

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

Applies to