Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_DTE.DisplayMode Property

Gets the display mode, either MDI or Tabbed Documents.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
vsDisplay DisplayMode { 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.")
   Else
     MsgBox("Environment is in Tabbed Documents mode.")
   End If
End Sub
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.