QAT element (Server Ribbon)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Defines a quick-access toolbar.

<QAT
  Id="Text"
  ImageDownArrow="Url"
  ImageDownArrowClass="CSS Class Selector"
  ImageDownArrowLeft="Negative Integer"
  ImageDownArrowTop="Negative Integer"
  ImageSideArrow="Url"
  ImageSideArrowClass="CSS Class Selector"
  ImageSideArrowLeft="Negative Integer"
  ImageSideArrowTop="Negative Integer"
  ImageUpArrow="Url"
  ImageUpArrowClass="CSS Class Selector"
  ImageUpArrowLeft="Negative Integer"
  ImageUpArrowTop="Negative Integer"
/>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Id
Required. A string that identifies the element.
ImageDownArrow
Optional. A server-relative URL to a file that contains a 16-by-16-pixel image to use for the down arrow, such as "/_layouts/1033/images/formatmap16x16.png".
ImageDownArrowClass
Optional. The name of a CSS class selector to be applied to the down arrow image.
ImageDownArrowLeft
Optional. A negative integer that represents an offset for the left edge of the image. Use this attribute when the ImageDownArrow attribute points to an image file that contains the images for many icons. The value of the ImageDownArrowLeft attribute is used to set the CSS left attribute for the inline style of an HTML img tag when the page is created.
ImageDownArrowTop
Optional. A negative integer that represents an offset for the top edge of the image. Use this attribute when the ImageDownArrow attribute points to an image file that contains the images for many icons. The value of the ImageDownArrowTop attribute is used to set the CSS top attribute for the inline style of an HTML img tag when the page is created.
ImageSideArrow
Optional. A server-relative URL to a file that contains a 16-by-16-pixel image to use for the side arrow.
ImageSideArrowClass
Optional. The name of a CSS class selector to be applied to the side arrow image.
ImageSideArrowLeft
Optional. A negative integer that represents an offset for the left edge of the image. Use this attribute when the ImageSideArrow attribute points to an image file that contains the images for many icons. The value of the ImageSideArrowLeft attribute is used to set the CSS left attribute for the inline style of an HTML img tag when the page is created.
ImageSideArrowTop
Optional. A negative integer that represents an offset for the top edge of the image. Use this attribute when the ImageSideArrow attribute points to an image file that contains the images for many icons. The value of the ImageSideArrowTop attribute is used to set the CSS top attribute for the inline style of an HTML img tag when the page is created.
ImageUpArrow
Optional. A server-relative URL to a file that contains a 16-by-16-pixel image to use for the up arrow, such as "/_layouts/images/arwup.gif".
ImageUpArrowClass
Optional. The name of a CSS class selector to be applied to the up arrow image.
ImageUpArrowLeft
Optional. A negative integer that represents an offset for the left edge of the image. Use this attribute when the ImageUpArrow attribute points to an image file that contains the images for many icons. The value of the ImageUpArrowLeft attribute is used to set the CSS left attribute for the inline style of an HTML img tag when the page is created.
ImageUpArrowTop
Optional. A negative integer that represents an offset for the top edge of the image. Use this attribute when the ImageUpArrow attribute points to an image file that contains the images for many icons. The value of the ImageUpArrowTop attribute is used to set the CSS top attribute for the inline style of an HTML img tag when the page is created.

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1