Window2.Linkable 屬性

定義

取得或設定值,這個值表示工具視窗是否可以與其他工具視窗固定在一起。Gets or sets a value indicating whether the tool window can be docked with other tool windows.

public:
 property bool Linkable { bool get(); void set(bool value); };
public:
 property bool Linkable { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(130)]
[get: System.Runtime.InteropServices.DispId(130)]
[set: System.Runtime.InteropServices.DispId(130)]
public bool Linkable { get; set; }
[<System.Runtime.InteropServices.DispId(130)>]
[<get: System.Runtime.InteropServices.DispId(130)>]
[<set: System.Runtime.InteropServices.DispId(130)>]
member this.Linkable : bool with get, set
Public Property Linkable As Boolean

屬性值

Boolean

true 如果視窗可以與其他視窗停駐;否則為 falsetrue if the window can be docked with other windows; otherwise, false.

實作

屬性

範例

這個屬性需要工具視窗。This property requires a tool window.

備註

Linkable 只有針對工具視窗才有意義。Linkable is meaningful only for tool windows. 將設定 Linkable 為, false 會讓工具視窗不再強制本身成為最上層,以及變更視窗的行為。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.

針對文件視窗, Linkable 一律為 false ,因此設定值會失敗。For a document window, Linkable is always false, so setting the value fails.

適用於