FontIconSource.IsTextScaleFactorEnabled Property

Definition

Gets or sets a value that indicates whether automatic text enlargement, to reflect the system text size setting, is enabled.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.FontIconSource.IsTextScaleFactorEnabled (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property bool IsTextScaleFactorEnabled { bool get(); void set(bool value); };
bool IsTextScaleFactorEnabled();

void IsTextScaleFactorEnabled(bool value);
public bool IsTextScaleFactorEnabled { get; set; }
var boolean = fontIconSource.isTextScaleFactorEnabled;
fontIconSource.isTextScaleFactorEnabled = boolean;
Public Property IsTextScaleFactorEnabled As Boolean
<FontIconSource IsTextScaleFactorEnabled="bool"/>

Property Value

Boolean

bool

true if automatic text enlargement is enabled; otherwise, false.

Applies to