This documentation is archived and is not being maintained.

vsHTMLViews Enumeration

Represents the currently active view in the the HTML editor.

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

public enum vsHTMLViews

Member nameDescription
vsHTMLViewDesignThe active view is Design view.
vsHTMLViewSourceThe active view is Source view.

Visual Studio 2008 adds a Split view to the Source and Design views in the HTML editor. Split view separates the tab and view elements of the HTML edit window. Switching the view (to either Design or Source) does not necessarily mean switching the tab (Design/Split/Source). For example, when you click the Split tab, switching views between Design and Source does not change the tab, it only activates or deactivates the Design and Source panes in the Split view. This enumeration represents the two types of views in the HTML editor.