Udostępnij za pośrednictwem


Application.SetEnableAccessibilityScalingForNamedFontSizes Method

Definition

Overloads

SetEnableAccessibilityScalingForNamedFontSizes(BindableObject, Boolean)

Sets a Boolean value that controls whether named font sizes should participate in the device's accessibility scaling.

SetEnableAccessibilityScalingForNamedFontSizes(IPlatformElementConfiguration<iOS,Application>, Boolean)

Sets a Boolean value that controls whether named font sizes should participate in the device's accessibility scaling.

SetEnableAccessibilityScalingForNamedFontSizes(BindableObject, Boolean)

Source:
Application.cs
Source:
Application.cs

Sets a Boolean value that controls whether named font sizes should participate in the device's accessibility scaling.

public:
 static void SetEnableAccessibilityScalingForNamedFontSizes(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetEnableAccessibilityScalingForNamedFontSizes (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetEnableAccessibilityScalingForNamedFontSizes : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetEnableAccessibilityScalingForNamedFontSizes (element As BindableObject, value As Boolean)

Parameters

element
BindableObject

The element on which to perform the operation.

value
Boolean

true for device's accessibility scaling. Otherwise, false.

Applies to

SetEnableAccessibilityScalingForNamedFontSizes(IPlatformElementConfiguration<iOS,Application>, Boolean)

Source:
Application.cs
Source:
Application.cs

Sets a Boolean value that controls whether named font sizes should participate in the device's accessibility scaling.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Application ^> ^ SetEnableAccessibilityScalingForNamedFontSizes(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Application ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Application> SetEnableAccessibilityScalingForNamedFontSizes (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Application> config, bool value);
static member SetEnableAccessibilityScalingForNamedFontSizes : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Application> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Application>
<Extension()>
Public Function SetEnableAccessibilityScalingForNamedFontSizes (config As IPlatformElementConfiguration(Of iOS, Application), value As Boolean) As IPlatformElementConfiguration(Of iOS, Application)

Parameters

config
IPlatformElementConfiguration<iOS,Application>

The platform configuration for the element on which to perform the operation.

value
Boolean

true for device's accessibility scaling. Otherwise, false.

Returns

A fluent object on which the developer may make further method calls.

Applies to