Label

LabelControl

Sample Ribbon XML file:

<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="I am a label" />
            </group>
         </tab>
      </tabs>
   </ribbon>
</customUI>

 

 

Attributes: enabled, id, idMso, idQinsertAfterMso, insertAfterQ,
                 insertBeforeMso, insertBeforeQlabel, screentip,
                 showLabel, supertip, tagvisible

Callbacks: getEnabled, getLabel, getScreentip, getShowLabel,
                  getSupertip,  getVisible

You can find this sample in Sample DB 1