We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IDTToolsOptionsPage Interface

Implemented when constructing a custom tools options page.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

public interface class IDTToolsOptionsPage

The IDTToolsOptionsPage type exposes the following members.

Public methodGetPropertiesReturns an object containing all properties contained on the specified custom Tools Options page.
Public methodOnAfterCreatedOccurs immediately after a custom Tools Options page is created for the first time.
Public methodOnCancelOccurs if the user clicks the Cancel button in the Options dialog box.
Public methodOnHelpOccurs when a user clicks the Help button in a custom Tools Options page.
Public methodOnOKOccurs when a user clicks OK in a custom Tools Options page.

The IDTToolsOptionsPage interface allows you to create your own custom Options pages. When implemented, it provides five methods that act as events within the environment.

To create a custom Options page, you create an ActiveX control, set the required registry settings, and then implement this interface. For more information, see Controlling Options Settings.