Share via


Window.IsFloating Property

Gets or sets a value indicating whether the tool window is floating over other windows.

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

Syntax

'Declaration
Property IsFloating As Boolean
bool IsFloating { get; set; }
property bool IsFloating {
    bool get ();
    void set (bool value);
}
abstract IsFloating : bool with get, set
function get IsFloating () : boolean 
function set IsFloating (value : boolean)

Property Value

Type: System.Boolean
true if the window is floating over other windows; otherwise, false.

Remarks

IsFloating produces an error if the window is a Document window.

Examples

IsFloating requires a tool window. For an example of how to use this property, see the ToolWindow sample on the Visual Studio Automation Samples webpage.

.NET Framework Security

See Also

Reference

Window Interface

EnvDTE Namespace