A dockable window is a window that can exist in a floating state or be attached to the main application window. The Table of Contents in ArcMap is an example of a DockableWindow.

Namespace: http://schemas.esri.com/Desktop/AddInsSchema: DesktopAddIns_ElementOnly.xsd

Parents

 DockableWindows

Children

Name Occurrences Description
 InitialPlacement

Specifies the initial placement for the dockable window.

Attributes

Name Type Required Description
 caption  string Yes

The caption for the type.

 class  string Yes

The class associated with the type. This class is the active portion of the type and resides in the specified library. If this class is not in the default library namespace specified on the root AddIn element, the class name must be the full name (namespace.className).

 id  ID Yes

The ID for this custom type. IDs must be unique across all customizations.

 image  string

The dockable window's image.

 library  anySimpleType

The library the class is defined in. This attribute allows you to override the default library attribute on the root AddIn element.

Syntax

CopyXML
<xs:element name="DockableWindow" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:all>
      <xs:element name="InitialPlacement" />
    </xs:all>
    <xs:attribute name="id" type="xs:ID" use="required" />
    <xs:attribute name="class" type="xs:string" use="required" />
    <xs:attribute name="library" use="optional" />
    <xs:attribute name="caption" type="xs:string" use="required" />
    <xs:attribute name="image" type="xs:string" use="optional" />
  </xs:complexType>
</xs:element>

See Also