_DTE.DisplayMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the display mode, either MDI or Tabbed Documents.
public:
property EnvDTE::vsDisplay DisplayMode { EnvDTE::vsDisplay get(); void set(EnvDTE::vsDisplay value); };
public:
property EnvDTE::vsDisplay DisplayMode { EnvDTE::vsDisplay get(); void set(EnvDTE::vsDisplay value); };
[System.Runtime.InteropServices.DispId(208)]
public EnvDTE.vsDisplay DisplayMode { [System.Runtime.InteropServices.DispId(208)] get; [System.Runtime.InteropServices.DispId(208)] set; }
[<System.Runtime.InteropServices.DispId(208)>]
[<get: System.Runtime.InteropServices.DispId(208)>]
[<set: System.Runtime.InteropServices.DispId(208)>]
member this.DisplayMode : EnvDTE.vsDisplay with get, set
Public Property DisplayMode As vsDisplay
Property Value
A vsDisplay constant representing the display mode.
- Attributes
Examples
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