ToolWindowBase.IsOnScreen Property

true if the toolwindow is viewable on the screen and is not slid off screen (ie. auto-slide), not obstructed by another tabbed document, or closed.

This differs from IsVisible which does not consider the toolwindow being slid off screen or the tabbed document being obstructed (ie. on top) by another.

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Public ReadOnly Property IsOnScreen As Boolean
public bool IsOnScreen { get; }
public:
property bool IsOnScreen {
    bool get ();
}
member IsOnScreen : bool with get
function get IsOnScreen () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ToolWindowBase Class

Microsoft.VisualStudio.TeamFoundation Namespace