buttonGroup

In the object model this is RibbonButtonGroup.
A group that contains one or more buttons, toggle buttons, split buttons etc in a horizontal orientation.
You can add this to a group or menu
When you add buttons in a buttongroup you can't assign them a size as they are "normal" by definition.
This control creates the look of a toolbar adding a faint separator between the controls and a border around the group.
The controls in a buttonGroup can only be changed at design time.


<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> 
  <ribbon startFromScratch="true">
    <tabs>
      <tab id="CustomTab" label="My Tab">
        <group id="Group1" label="MyGroup">
           <buttonGroup id="buttongroup1">
             <button id="button1"
                     imageMso="ErrorChecking"/>
             <button id="button2"
                     label="Some Text"
                     imageMso="LeaveReader"/>
             <button id="button3"
                     imageMso="OutlookTaskCreate"/>
           </buttonGroup>
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

Attributes (properties)

enabled"true" | "false"
id(Id)
idMso 
idQ 
insertAfterMso 
insertAfterQ 
insertBeforeMso 
insertBeforeQ 
tag(Tag)
visibleNot supported - You can overcome this by putting your buttonGroup inside a box control and then use the visible property from the box control.

Callbacks (run-time)

getVisibleButtonGroup_OnGetVisible -

Children

This control can contain the following controls.

button 
control 
gallery 
menu 
splitButton 
toggleButton 

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext