共用方式為


ProvideToolWindowAttribute.DocumentLikeTool Property

Definition

Set this property to true if you want a tool window that is like a document in its behavior and lifetime. The tool window will only be MDI or floating and will remain visible in its position across all layout changes until manually closed by the user at which point it will be destroyed. This flag implies DontForceCreate and destructive multi instance.

public:
 property bool DocumentLikeTool { bool get(); void set(bool value); };
public:
 property bool DocumentLikeTool { bool get(); void set(bool value); };
public bool DocumentLikeTool { get; set; }
member this.DocumentLikeTool : bool with get, set
Public Property DocumentLikeTool As Boolean

Property Value

True if the tool window should be like a document.

Applies to