Provides a standard dialog box functionality for implementing Toolbox property sheets, Tools Options pages, or custom UI dialog boxes, with support for the Visual Studio automation model, Windows Forms, and state persistence by using the Visual Studio settings mechanism.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Gets the DTE automation model object for a given instance of a dialog page class.
Gets or sets the sub-key under the Visual Studio version-specific root for storing settings data for a dialog page.
Gets the location where the settings are stored in the shared settings store. It's based on the SharedSettingsAttribute on your AutomationObject, or the full type name if the attribute is not specified.
Gets the window that is used as the user interface of the dialog page.
Gets the shared settings store path for the given property.
|IsPropertyValueMachineLocal(PropertyDescriptor, Object, String)|
Determine whether a given value from a property on the AutomationObject is local to this machine (vs. being roamable to other machines),
Called by Visual Studio to load the settings of a dialog page from local storage, generally the registry.
Called by Visual Studio to load the settings of a dialog page from the Visual Studio settings storage on disk.
Handles Windows Activate messages from the Visual Studio environment.
Handles Apply messages from the Visual Studio environment.
Handles Close messages from the Visual Studio environment.
Handles Deactive messages from the Visual Studio environment.
Should be overridden to reset settings to their default values.
Called by Visual Studio to store the settings of a dialog page in local storage, typically the registry.
Called by Visual Studio to store the settings of a dialog page to the Visual Studio settings storage on disk.
Implement classes derived fromwhen you create a user dialog box, especially a Tools Options page or a Toolbox property page.
The simplest implementation of TypeConverter.requires only the definition of public properties on the implementing class. The property types must support conversion to and from strings through
Classes derived fromhave the following:
Automatic support for component sharing through the Visual Studio DTE automation object model.
Any instance of Component interface implementation.is an automation object, because the class inherits the
Applications that must access the automation object of the class use the AutomationObject property.
The AutomationObject property returns this (Me in Visual Basic), because the implementation of is already an automation object by default.
An implementation of AutomationObject implementation. For example, this might be done to provide separate user interface and the object models.can offer an automation object other than itself by overriding the base
Support for the Visual Studio settings mechanism, based on the public properties of the automation object of the derived class.
For an object derived from ProvideProfileAttribute.to provide persistence, it must be registered by using
Types derived from IProfileManager.inherit a default persistence implementation of
The default implementation persists all public properties of the automation object of the dervied class, which is the object that is returned by AutomationObject and that supports conversion to and from strings through TypeConverter.
A default user interface that is based on the public properties of the automation object of the derived class.
For a dialog page implementation to provide a Tools Options page, it must be registered by using ProvideOptionPageAttribute.
For a dialog page implementation to provide a Toolbox dialog page, it must be registered by using ProvideToolboxPageAttribute.
The AutomationObject to obtain the automation object of the class and the public properties of that automation object.base class uses its implementation of
Changes to public properties made through the user interface of a dialog page are automatically saved to local storage (typically the registry) by a call to the SaveSettingsToStorage method.
A dialog page implementation can change its user interface by overriding Window.
Typically, an instance of a dialog page class is its own automation object. Therefore, properties that are persisted or displayed are those of the class that is derived from AutomationObject returns another object, it is that object's properties, not the class's, that are persisted or displayed.. However, if
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.