Export (0) Print
Expand All
ID
Top
Expand Minimize

DisplayMode Property

Visual Studio .NET 2003

Returns the display mode, either MDI or Tabbed Documents.

[Visual Basic .NET]
Public Property DisplayMode() As vsDisplay
[Visual Basic 6]
Property Get DisplayMode() As vsDisplay
Property Let DisplayMode( _
   ByVal NewValue As vsDisplay _
) 
[C++]
HRESULT __stdcall get_DisplayMode(
   /* [out, retval] */ vsDisplay* retVal
);
HRESULT __stdcall put_DisplayMode(
   /* [in] */ vsDisplay NewValue
);
[C#]
public vsDisplay DisplayMode {get; set;}
[JScript .NET]
public function get DisplayMode() : vsDisplay
public function set DisplayMode(
   NewValue : vsDisplay
)

Parameters

NewValue
A vsDisplay constant value.

Return Value

Represents a vsDisplay constant representing the display mode.

Example

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

See Also

Applies To: DTE Object

Show:
© 2014 Microsoft