Sie sind hier:   Startseite > Access - Ribbons > Ribbon XML / Controls > PrimaryItem

PrimaryItem

Achtung: Alle hier vorgestellten Eigenschaften funktionieren ausschließlich in Office 2010.  

 

Das primaryItem Element kann entweder ein Menü oder ein Button Ribbon Control aufnehmen und kann nur einmal innerhalb einer Backstage - group verwendet werden.

 

 

 

 

 

 

 

 

 

  

 Die dazugehörige XML Ribbon Datei:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
   </ribbon>
  <backstage>
    <tab  id="btab1" label="Tab Label 1. ">
      <firstColumn>
       <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">
                <primaryItem>
                  <button id="hBtn1" label="Primary Button" imageMso="HappyFace"/>
                </primaryItem>
               
                <topItems>
                    <labelControl id="lblInForm1" label="topItems:"/>
                    <button id="btnInForm1" label="Button 1."/>
                </topItems>
               
                <bottomItems>
                    <labelControl id="lblInForm2" label="bottomItems:"/>
                    <button id="btnInForm2" label="Button 2."/>
                    <button id="btnInForm3" label="Button 3."/>
                </bottomItems>
             </group>
             <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>
               <task id="tsk1a" label="Label 1.1. Task" description="Description 1.1 Task" imageMso="AppointmentColorDialog">
              <group id="myGroup24" style="normal"/>
            </task>
           </category>
         <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"/>
            </task>
           </category>
       </taskFormGroup>
     </firstColumn>
    </tab>
    <button id="btnBackstage1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>
  </backstage>
</customUI>

 

Attribute: - Keine - 

Callbacks: - Keine -

 

Sie finden dieses Beispiel auch in der Beispieldatenbank "Backstage View".

 

 

Letzte Änderungen:

18.03.2021
Neuer Download für Excel hinzugefügt. ...

25.10.2018
Seite "Vertrauenswürdige Speicherorte" - aktualisiert.. ...

22.10.2018
Neuer Download hinzugefügt. ...

08.04.2018
IDBE RibbonCreator 2016 (x86 and x64) für Office 2013 und Office 2016 - Neue Version. ...

 

Letzte Änderung: