This project is read-only.


Represents a Label control in the SharePoint Server Ribbon.
SharePoint 2010 Ribbon ComboBox

Inheritance Hierarchy

Assembly: QASPRibbon.dll
Namespace: QASPRibbon.Controls


Property Type Description
Id String A string that identifies the label, such as "RibbonControl". (Inherited from RibbonElement)
Title String A string value representing the label's text. (Inherited from RibbonElement)
Visible Boolean A value that indicates whether a label control is rendered on the ribbon. (Inherited from RibbonVisualControl)
Enabled Boolean A value that indicates whether a label control is enabled. (Inherited from RibbonVisualControl)
ToolTip RibbonToolTip The tooltip of the label. (Inherited from RibbonVisualControl)
ForId String The ID of the control that this control labels.


public RibbonLabel()

public RibbonLabel(string id)

public RibbonLabel(string id, string title)


The following example defines a label control with tooltip.
var simpleLabelToolTip = new RibbonToolTip("ToolTip Title", "ToolTip Description");
var simpleLabel = new RibbonLabel("Label", "Label")
                        ToolTip = simpleLabelToolTip,
                        ForId = "TargetControl"

See also

Last edited Dec 19, 2012 at 4:03 PM by VitalyZhukov, version 3


No comments yet.