You are here:   Home > Access - Ribbons > Ribbon XML / Controls > PrimaryItem


Remark: All functions in this chapter refer to Access / Office 2010.  


The primaryItem element can have a Menu or Button Ribbon Control and can be defined only once within a Backstage - group.










The corresponding XML Ribbon file: 

<customUI xmlns="">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
    <tab  id="btab1" label="Tab Label 1. ">
       <taskFormGroup id="MytskfrmGroup1" label="Label taskFormGroup 1. Column" helperText="Helpertext for 1. Column">
           <category id="cat1" label="Label 1. Category" >
            <task id="tsk1" label="Label 1.0 Task" description="Description 1.0 Task" imageMso="HappyFace">
             <group id="myGroup21" label="Label 1. Group" helperText="Style:= normal"  style="normal">
                  <button id="hBtn1" label="Primary Button" imageMso="HappyFace"/>
                    <labelControl id="lblInForm1" label="topItems:"/>
                    <button id="btnInForm1" label="Button 1."/>
                    <labelControl id="lblInForm2" label="bottomItems:"/>
                    <button id="btnInForm2" label="Button 2."/>
                    <button id="btnInForm3" label="Button 3."/>
             <group id="myGroup22" label="Label 2. Group" helperText="Style:= warning" style="warning"/>
             <group id="myGroup23" label="Label 3. Group" helperText="Style:= error" style="error"/>
               <task id="tsk1a" label="Label 1.1. Task" description="Description 1.1 Task" imageMso="AppointmentColorDialog">
              <group id="myGroup24" style="normal"/>
         <category id="cat2" label="Label 2. Category">
            <task id="tsk2" label="Label 2.0 Task" description="Description 2.0 Task">
              <group id="myGroup25" style="normal"/>
    <button id="btnBackstage1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>


Attributes: -  

Callbacks: -


You can also find this sample in sample database "Backstage View".



Last Updates:

New Download added. ...

Update Site "Trusted Locations" ...

New Download added. ...

IDBE RibbonCreator 2016 (x86 and x64) for Office 2013 and Office 2016 - new release. ...


Last update: