0% found this document useful (0 votes)
99 views2 pages

Custom UI

This document defines a custom user interface for a ribbon in Microsoft Office that includes a tab called "My Tab" containing a group called "My Group". The group contains two label controls and a menu with toggle buttons, regular buttons, menu separators, and nested sub-menus of different sizes for adding commands.

Uploaded by

70520658
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views2 pages

Custom UI

This document defines a custom user interface for a ribbon in Microsoft Office that includes a tab called "My Tab" containing a group called "My Group". The group contains two label controls and a menu with toggle buttons, regular buttons, menu separators, and nested sub-menus of different sizes for adding commands.

Uploaded by

70520658
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

<customUI xmlns="http://schemas.microsoft.

com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="MyTab" label="My Tab">
<group id="MyGroup" label="My Group">
<labelControl id="myLabel1" label="Sample:" />
<labelControl id="myLabel2" label="Menu" />
<menu id="MyMenu"label="Menu Sample" itemSize="normal">
<toggleButton idMso="Bold"/>

<button id="MenuButton1" label="Button" imageMso="HappyFace"onAction="MyButtonCallbackOnAction" />
<menuSeparator id="myMenuSep1"/>
<toggleButton id="MenuToggleButton1" label="Toggle Button"imageMso="HappyFace"on Action="MyToggleButtonCallbackOnAction"/>
<button idMso="FileExit"/>
<menu id="MyMenuNextLevel1"label="More"itemSize="normal">
<button idMso="Cut"/>
<button idMso="Copy"/>
<button idMso="Paste"/>

<menuSeparator id="myMenuSep2" title="Large items next"/>
<menu id="MyMenuNextLevel2"label="Large items"itemSize="large">
<button idMso="Cut"/>
<button idMso="Copy"/>
<button idMso="Paste"/>

<menuSeparator id="myMenuSep3"/>
<dynamicMenu id="subMenu" label="Sub Menu"getContent="GetSubContent"/>
<button id="dynaButton" label="Button"onAction="MyButtonCallbackOnAction"imageMso="HappyFace"/>

</menu>
</menu>
</menu>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

You might also like