With the design-time support, you can easily add Ribbon items to the RibbonGroup. If there is not enough room on the tab to display all of the group's items at one time, then the group collapses. If resizing is necessary, the large icons in the group are automatically replaced with small icons and text is hidden if space does not allow for the text. Note that when more Ribbon groups are added, the existing Ribbon groups may have to resize to make room on the tab for the new group(s). For example, the following Font group organizes related font commands and contains numerous Ribbon items: The RibbonGroup can contain a number of Ribbon items, such as buttons, check boxes, combo boxes, toolbars, menus, and so on. The following image shows the Home tab with four groups: Clipboard, Font, Paragraph, and Styles: ![]() The group can also include a dialog box launcher button which provides access to advanced capabilities. The TrimLongCaption property allows the RibbonGroup caption to be trimmed if it is longer than the contents of the group. Grouping related commands in a RibbonGroup makes it easier to discover and locate the commands. Each Ribbon tab contains a set of Ribbon groups.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |