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
'Usage
Dim instance As Window
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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.