RibbonControlService.Label Attached Property
.NET Framework 4
Gets or sets the text that is displayed next to or below the control.
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Property Value
Type: System.StringThe text that is displayed next to or below the control. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.
Set the IsLabelVisible property on the ControlSizeDefinition to control the visibility of the label.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.