# button element

The button element describes various types of buttons.

## Type

Anonymous

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
type | Anonymous | required |  | leftMouseButton middleMouseButton rightMouseButton macMouseButton toolbarButton dialogButton genericButton

## Usage

          <button
    	type="token"
    />

## Definition

          <element name="button" >
      <complexType>
        <simpleContent>
          <extension base="token">
            <attribute name="type" use="required">
              <simpleType>
                <restriction base="token">
                  <enumeration value="leftMouseButton" />
                  <enumeration value="middleMouseButton" />
                  <enumeration value="rightMouseButton" />
                  <enumeration value="macMouseButton" />
                  <enumeration value="toolbarButton" />
                  <enumeration value="dialogButton" />
                  <enumeration value="genericButton" />
                </restriction>
              </simpleType>
            </attribute>
          </extension>
        </simpleContent>
      </complexType>
    </element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp