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

'Declaração
Protected Overridable Sub OnUserPreferenceChanged ( _
    sender As Object, _
    e As UserPreferenceChangedEventArgs _
)
protected virtual void OnUserPreferenceChanged(
    Object sender,
    UserPreferenceChangedEventArgs e
)
protected:
virtual void OnUserPreferenceChanged(
    Object^ sender, 
    UserPreferenceChangedEventArgs^ e
)
abstract OnUserPreferenceChanged : 
        sender:Object * 
        e:UserPreferenceChangedEventArgs -> unit 
override OnUserPreferenceChanged : 
        sender:Object * 
        e:UserPreferenceChangedEventArgs -> unit 
protected function OnUserPreferenceChanged(
    sender : Object, 
    e : UserPreferenceChangedEventArgs
)

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