Partilhar via


vsHTMLViews Enum

Definition

Represents the currently active view in the the HTML editor.

public enum class vsHTMLViews
public enum class vsHTMLViews
enum vsHTMLViews
[System.Runtime.InteropServices.Guid("FCDF1B34-0781-43C6-BD46-062CAEA1FB05")]
public enum vsHTMLViews
[<System.Runtime.InteropServices.Guid("FCDF1B34-0781-43C6-BD46-062CAEA1FB05")>]
type vsHTMLViews = 
Public Enum vsHTMLViews
Inheritance
vsHTMLViews
Attributes

Fields

Name Value Description
vsHTMLViewSource 0

The active view is Source view.

vsHTMLViewDesign 1

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.

Applies to