menuSeparator

A horizontal bar within a popup menu providing a title for a group of related menu items.
If no title is provided then it is displayed as a thin horizontal line.

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> 
  <ribbon startFromScratch="true">
    <tabs>
      <tab id="CustomTab" label="My Tab">
        <group id="Group1" label="Group 1">
          <menu id="MyMenu"
                label="My Menu"
                imageMso="HappyFace"
                size="large">
            <menuSeparator id="Seperator1"/>
          </menu>
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

Attributes (properties)

enabled"true" | "false" 
id  
idQ  
insertAfterMso  
insertAfterQ  
insertBeforeMso  
insertBeforeQ  
title  

Callbacks (run-time)

getTitleMenuSeparator_OnGetTitle -
MenuSeparator_GetEnabledcheck / remove

' VBA
Public Sub MenuSeparator_OnGetTitle(ByRef control As IRibbonControl, _
                                    ByRef title)

End Sub


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