Dela via


vsHTMLViews Enumeration

Represents the currently active view in the the HTML editor.

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

Syntax

'Declaration
<GuidAttribute("FCDF1B34-0781-43C6-BD46-062CAEA1FB05")> _
Public Enumeration vsHTMLViews
'Usage
Dim instance As vsHTMLViews
[GuidAttribute("FCDF1B34-0781-43C6-BD46-062CAEA1FB05")]
public enum vsHTMLViews
[GuidAttribute(L"FCDF1B34-0781-43C6-BD46-062CAEA1FB05")]
public enum class vsHTMLViews
public enum vsHTMLViews

Members

Member name Description
vsHTMLViewSource The active view is Source view.
vsHTMLViewDesign The active view is Design view.

Remarks

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.

See Also

Reference

EnvDTE90 Namespace