Custom commands such as buttons, tools, tool palettes, combo boxes, and multi-items.

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

Parents

 ArcCatalog

Children

Name Occurrences Description
 All
        Button

A button on a toolbar or menu.

        ComboBox

A combo box on a tool bar.

        MultiItem

A dynamic collection of menu items on a menu or toolbar.

        Tool

A tool on a toolbar or toolpalette. Tools are similar to buttons except tools allow interaction with the map.

        ToolPalette

A collection of related tools on a tool palette.

Syntax

CopyXML
<xs:element name="Commands" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:all>
      <xs:element name="Button" />
      <xs:element name="Tool">
        <xs:complexType>
          <xs:all>
            <xs:element name="Help">
              <xs:complexType>
                <xs:attribute name="heading" type="xs:string" use="optional" />
              </xs:complexType>
            </xs:element>
          </xs:all>
          <xs:attribute name="id" type="xs:ID" use="required" />
          <xs:attribute name="caption" type="xs:string" use="required" />
          <xs:attribute name="class" type="xs:string" use="required" />
          <xs:attribute name="category" type="xs:string" use="required" />
          <xs:attribute name="image" type="xs:string" use="optional" />
          <xs:attribute name="tip" type="xs:string" use="optional" />
          <xs:attribute name="message" type="xs:string" use="optional" />
          <xs:attribute name="cursor" type="xs:string" use="optional" />
          <xs:attribute default="true" name="onDemand" type="xs:boolean" use="optional" />
        </xs:complexType>
      </xs:element>
      <xs:element name="ToolPalette">
        <xs:complexType>
          <xs:all>
            <xs:element name="Items">
              <xs:complexType>
                <xs:all>
                  <xs:element name="Tool">
                    <xs:complexType>
                      <xs:attribute name="refID" type="xs:string" use="required" />
                      <xs:attribute name="separator" type="xs:boolean" use="optional" />
                      <xs:attribute name="subtype" type="xs:integer" use="optional" />
                    </xs:complexType>
                  </xs:element>
                </xs:all>
              </xs:complexType>
            </xs:element>
          </xs:all>
          <xs:attribute name="id" type="xs:ID" use="required" />
          <xs:attribute name="caption" type="xs:string" use="required" />
          <xs:attribute name="category" type="xs:string" use="required" />
          <xs:attribute name="isMenuStyle" type="xs:boolean" use="optional" />
          <xs:attribute name="columns" type="xs:integer" use="optional" />
        </xs:complexType>
      </xs:element>
      <xs:element name="ComboBox">
        <xs:complexType>
          <xs:all>
            <xs:element name="Help">
              <xs:complexType>
                <xs:attribute name="heading" type="xs:string" use="optional" />
              </xs:complexType>
            </xs:element>
          </xs:all>
          <xs:attribute name="id" type="xs:ID" use="required" />
          <xs:attribute name="caption" type="xs:string" use="required" />
          <xs:attribute name="class" type="xs:string" use="required" />
          <xs:attribute name="category" type="xs:string" use="required" />
          <xs:attribute name="image" type="xs:string" use="optional" />
          <xs:attribute name="tip" type="xs:string" use="optional" />
          <xs:attribute name="message" type="xs:string" use="optional" />
          <xs:attribute name="editable" type="xs:boolean" use="optional" />
          <xs:attribute name="showCaption" type="xs:boolean" use="optional" />
          <xs:attribute name="hintText" type="xs:string" use="optional" />
          <xs:attribute name="sizeString" type="xs:string" use="optional" />
          <xs:attribute name="itemSizeString" type="xs:string" use="optional" />
          <xs:attribute name="rows" type="xs:integer" use="optional" />
        </xs:complexType>
      </xs:element>
      <xs:element name="MultiItem">
        <xs:complexType>
          <xs:all>
            <xs:element name="Help">
              <xs:complexType>
                <xs:attribute name="heading" type="xs:string" use="optional" />
              </xs:complexType>
            </xs:element>
          </xs:all>
          <xs:attribute name="id" type="xs:ID" use="required" />
          <xs:attribute name="caption" type="xs:string" use="required" />
          <xs:attribute name="class" type="xs:string" use="required" />
          <xs:attribute name="tip" type="xs:string" use="optional" />
          <xs:attribute name="message" type="xs:string" use="optional" />
        </xs:complexType>
      </xs:element>
    </xs:all>
  </xs:complexType>
</xs:element>

See Also