Backstage - LayoutContainer

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

 Das layoutContainer Element ist zur Ausrichten von Controls zuständig.

 

 

 

 

 

 

 

 

 

 

 

 

 

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="Label 1. Tab">
      <firstColumn>
       <group id="myGroup" style="normal" label="Form Button:">
         <bottomItems>
             <layoutContainer id="lay1" layoutChildren="horizontal">
                <button id="btn1" label="Form Button 1" imageMso="HappyFace"/>
                <button id="btn2" label="Form Button 2" expand="horizontal" style="normal" />
                <button id="btn3" label="Form Button 3" style="borderless"/>
                <button id="btn4" label="Form Button 4" style="large" imageMso="HappyFace"
                          screentip="Screentip" supertip="Supertip"/>
             </layoutContainer>
             <labelControl id="lblLabel2" label="LayoutContainer - layoutChildren=vertical:"/>
             <layoutContainer id="lay2" layoutChildren="vertical">
                <button id="btn1a" label="Form Button 1" imageMso="HappyFace"/>
                <button id="btn2a" label="Form Button 2" expand="horizontal" style="normal" />
                <button id="btn3a" label="Form Button 3" style="borderless"/>
                <button id="btn4a" label="Form Button 4" style="large" imageMso="HappyFace"
                          screentip="Screentip" supertip="Supertip"/>
             </layoutContainer>
        </bottomItems>
      </group>
     </firstColumn>
   </tab>
   <button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>
  </backstage>
</customUI>

 

Attribute: align, expand, id, idMso, idQ, layoutChildren, tag

     Callbacks: - Keine -


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


Back