Sdílet prostřednictvím


TextBlock.IsTextScaleFactorEnabled Property

Definition

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

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

bool

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

Applies to

See also