## TaskPane.DockState property Specifies the last-docked location of this task pane object. ```csharp public TaskPaneDockState DockState { get; set; } ``` ## Examples Shows how to add a web extensi......extension to a document. ```csharp Document doc = new Document(); // Create...which will be used by the document, // then set its default location...