Share via


Window2.IsFloating Property

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

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.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 a tool window; 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: https://www.microsoft.com/downloads/details.aspx?familyid=3ff9c915-30e5-430e-95b3-621dccd25150&displaylang=en.

.NET Framework Security

See Also

Reference

Window2 Interface

EnvDTE80 Namespace