Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

UISettings.TextScaleFactorChanged Event

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.

Occurs when the system text size setting is changed.

// Register
event_token TextScaleFactorChanged(TypedEventHandler<UISettings, IInspectable const&> const& handler) const;

// Revoke with event_token
void TextScaleFactorChanged(event_token const* cookie) const;

// Revoke with event_revoker
UISettings::TextScaleFactorChanged_revoker TextScaleFactorChanged(auto_revoke_t, TypedEventHandler<UISettings, IInspectable const&> const& handler) const;
public event TypedEventHandler<UISettings,object> TextScaleFactorChanged;
function onTextScaleFactorChanged(eventArgs) { /* Your code */ }
uISettings.addEventListener("textscalefactorchanged", onTextScaleFactorChanged);
uISettings.removeEventListener("textscalefactorchanged", onTextScaleFactorChanged);
- or -
uISettings.ontextscalefactorchanged = onTextScaleFactorChanged;
Public Custom Event TextScaleFactorChanged As TypedEventHandler(Of UISettings, Object) 

Event Type

Remarks

The value ranges from 1 to 2.25.

Note

Not all text is scaled by the same factor. Generally speaking, the larger text is, the less it’s affected by scaling.

Applies to

See also


Feedback

Was this page helpful?