Share via


Window2.Linkable Property

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

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

Syntax

'Declaration
Property Linkable As Boolean
'Usage
Dim instance As Window2 
Dim value As Boolean 

value = instance.Linkable

instance.Linkable = value
bool Linkable { get; set; }
property bool Linkable {
    bool get ();
    void set (bool value);
}
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.

Implements

Window.Linkable

Remarks

Linkable is meaningful only for tool windows. Setting Linkable to false causes the tool window to no longer force itself to be on top, as well as changing the window's behavior.

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

Examples

This property 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

Window2 Members

Linkable Overload

EnvDTE80 Namespace