You are here:   Backstage View - taskGroup - getShowLabel

Backstage View - taskGroup - getShowLabel

 

Sets a value that specifies whether to display the control label or not.




Sample Ribbon XML file:

<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>
        <taskGroup id="MytskGroup1" label="Label taskGroup 1. Column" helperText="Helpertext for 1. Column" getShowLabel="GetShowLabelTG"/>
        <group id="myGroup21" label="Label 1. Group" helperText="Style:= normal"  style="normal"/>
        <group id="myGroup22" label="Label 2. Group" helperText="Style:= warning" style="warning"/>
        <group id="myGroup23" label="Label 3. Group" helperText="Style:= error" style="error"/>
      </firstColumn>
      <secondColumn>
        <taskGroup id="MytskGroup2" label="Label taskGroup 2. Column" helperText="Helpertext for 2. Column" getShowLabel="GetShowLabelTG"/>
        <group id="myGroup21" label="Label Group" style="error"/>
      </secondColumn>    
    </tab>
  </backstage>
</customUI>

Function to be copied to a standard module:

Sub GetShowLabelTG(control As IRibbonControl, ByRef showLabel)
    Select Case control.Id
        Case Else
            showLabel = False
    End Select
End Sub


You can find this sample in download: BackstageView 1




Zurück

 

Last Updates:

25.10.2018
Update Site "Trusted Locations" ...


22.10.2018
New Download added. ...

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

04.08.2017
Add new Link. ...

 

Last update:
October 25, 2018, 08:13