UISettings.TextScaleFactorChanged Evento

Definição

Ocorre quando a configuração de tamanho do texto do sistema é alterada.

// 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) 

Tipo de evento

Comentários

O valor varia de 1 a 2,25.

Observação

Nem todo texto é dimensionado pelo mesmo fator. Em geral, quanto maior for o texto, menos ele será afetado pelo dimensionamento.

Aplica-se a

Confira também