Controls element (Group) (Server Ribbon)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains elements that define controls.
<Controls Id="Text" ToolTipImage32by32="Url" ToolTipImage32by32Class="CSS Class Selector" ToolTipImage32by32Left="Negative Integer" ToolTipImage32by32Top="Negative Integer" ToolTipTitle="Text" ToolTipDescription="Text" ToolTipHelpKeyWord="Text" ToolTipShortcutKey="Text" />
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
||Required. Identifies the control. The value can be a string representation of a GUID or a unique term such as "Ribbon.Library.Share.NewRibbonCheckBox".
||Optional. A server-relative URL to a file that contains a 32-by-32-pixel image to be used in the tooltip, such as "/_layouts/1033/images/formatmap32x32.png".
||Optional. The name of a CSS class selector to be applied to the tooltip image.
||Optional. A negative integer that represents an offset for the left edge of the image. Use this attribute when the ToolTipImage32by32 attribute points to an image file that contains the images for many icons. The value of the ToolTipImage32by32Left attribute is used to set the CSS left attribute for the inline style of an HTML img tag when the page is created.
||Optional. A negative integer that represents an offset for the top edge of the image. Use this attribute when the ToolTipImage32by32 attribute points to an image file that contains the images for many icons. The value of the ToolTipImage32by32Top attribute is used to set the CSS top attribute for the inline style of an HTML img tag when the page is created.
||Optional. The text that appears as the title of the tooltip.
||Optional. The text that appears in the body of the tooltip.
||Optional. The keyword that is used by context-sensitive Help.
||Optional. The text to display for the shortcut key in the tooltip. For example, if the shortcut key for the control is Alt+J, then the value for this attribute is "Alt+J". The tooltip will display the text for the shortcut key in parentheses after the tooltip title: "(Alt+J)".
- Minimum: 1
- Maximum: 1