FontIconSource.IsTextScaleFactorEnabled Property
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.
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.