Delen via


Window.Linkable Property

Gets or sets a value indicating whether the tool window can be docked with other tool windows.

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

Syntax

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

Property Value

Type: System.Boolean
true if the window can be docked with other windows; otherwise, false.

Remarks

Linkable is meaningful only for tool windows. If you set Linkable to false, the tool window no longer is force to be on top, the window's behavior changes.

For a document window, Linkable is always false, so setting the value fails.

Examples

Linkable 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