DialogBase.OnUserPreferenceChanged Method

Alerts listeners when a user changes the preferences for the operating system.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

protected virtual void OnUserPreferenceChanged(
    Object sender,
    UserPreferenceChangedEventArgs e
)

Parameters

  • sender
    Type: System.Object
    The sending object. This value is always null.

Remarks

This method invokes the CPropExchange::ExchangeFontProp method.

Preferences for the operating system include the title bar height and font size for windows.

.NET Framework Security

See Also

Reference

DialogBase Class

Microsoft.VisualStudio.Modeling.Shell Namespace