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
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: Boolean
true if the window can be docked with other windows; otherwise, false.

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

EnvDTE80 Namespace