DTE2.DisplayMode Property
Visual Studio 2015
Gets or sets the display mode, either MDI or Tabbed Documents.
Assembly: EnvDTE80 (in EnvDTE80.dll)
Implements
_DTE.DisplayModeSub DisplayModeExample() If DTE2.DisplayMode = vsDisplay.vsDisplayMDI Then MsgBox("Environment is in MDI mode.") Else MsgBox("Environment is in Tabbed Documents mode.") End If End Sub
Show: