Backstage View - taskFormGroup - getShowLabel


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

Sample Ribbon XML file:

<customUI xmlns="">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
    <tab  id="btab1" label="Label 1. Tab">
        <taskFormGroup id="tskfrmGrp" label="Label: taskFormGroup" helperText="Helpertext: taskFormGroup" getShowLabel="GetShowLabelTFG"/>

Function to be copied to a standard module:

Sub GetShowLabelTFG(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