DTE2.DisplayMode Property


Gets or sets the display mode, either MDI or Tabbed Documents.

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

vsDisplay DisplayMode { get; set; }

Property Value

Type: EnvDTE.vsDisplay

A vsDisplay constant representing the display mode.

Sub DisplayModeExample()
   If DTE2.DisplayMode = vsDisplay.vsDisplayMDI Then
     MsgBox("Environment is in MDI mode.")
     MsgBox("Environment is in Tabbed Documents mode.")
   End If
End Sub
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft