Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

_DTE.DisplayMode Property

Gets the display mode, either MDI or Tabbed Documents.

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

abstract DisplayMode : vsDisplay with get, set

Property Value

Type: EnvDTE.vsDisplay
A vsDisplay constant representing the display mode.

Sub DisplayModeExample()
   If DTE.DisplayMode = vsDisplay.vsDisplayMDI Then
     MsgBox("Environment is in MDI mode.")
     MsgBox("Environment is in Tabbed Documents mode.")
   End If
End Sub

© 2015 Microsoft