This documentation is archived and is not being maintained.

IsFloating Property

Visual Studio .NET 2003

Sets or returns whether the tool window floats over other windows.

[Visual Basic .NET]
Public Property IsFloating() As Boolean
[Visual Basic 6]
Property Get IsFloating() As Boolean
Property Let IsFloating( _
   ByVal NewValue As Boolean _
) 
[C++]
HRESULT __stdcall get_IsFloating(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_IsFloating(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
public bool IsFloating {get; set;}
[JScript .NET]
public function get IsFloating() : Boolean
public function set IsFloating(
   NewValue : Boolean
)

Parameters

NewValue
True if the window is a tool window, False if not.

Return Value

True if the window is a tool window, False if not.

Remarks

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

Example

This property requires a tool window. For an example of how to use this property, see the ToolWindow sample on the Visual Studio .NET Automation Samples webpage: http://msdn.microsoft.com/vstudio/prodinfo/previous/rcbeta/automation.asp.

See Also

Applies To: Window Object | Creating and Controlling Tool Windows

Show: