Freigeben über


_DTE.DisplayMode Property

Definition

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  

Applies to