TextBlock.IsTextScaleFactorEnabled Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.TextBlock.IsTextScaleFactorEnabled.

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

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

Property Value

Boolean

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

Applies to

See also