# RibbonLabel Class

> The RibbonLabel class represents a label which is inherited from the System.Windows.Forms.Control class. The following describes only the properties, methods and events defined through the RibbonLabel class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class see the .NET Framework reference.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Inherits:** `System.Windows.Forms.Control`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonLabel Class
- **788 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/llms-full.txt

---

### Description

The RibbonLabel class represents a label which is inherited from the `System.Windows.Forms.Control` class. The following describes only the properties, methods and events defined through the RibbonLabel class. For a list of properties, methods and events inherited from the `System.Windows.Forms.Control` class see the .NET Framework reference.

### Syntax

```csharp
public class RibbonLabel : Control
```

```vbnet
Public Class RibbonLabel
    Inherits Control
```

### Examples

The following example creates a Ribbon Label instance and configures its enabled setting for a document workflow.

```csharp
using TXTextControl.Windows.Forms.Ribbon.RibbonLabel ribbonLabel = new();
ribbonLabel.Enabled = true;
```

```vbnet
Dim ribbonLabel As New TXTextControl.Windows.Forms.Ribbon.RibbonLabel()
ribbonLabel.Enabled = True
```

---

## In This Section

- [RibbonLabel Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/constructor/llms-full.txt): Initializes a new instance of the RibbonLabel class.
- [RibbonLabel.ParentCollection Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/parentcollection-property/llms-full.txt): Gets the RibbonItemCollection that contains this RibbonLabel.
- [RibbonLabel.SmallIcon Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/smallicon-property/llms-full.txt): Gets or sets a 16x16 1/96 inch icon for this RibbonLabel. If no icon is set, only the RibbonLabel's text is displayed.
- [RibbonLabel.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/text-property/llms-full.txt): Overridden. Gets or sets the RibbonLabel's text. If no text is set, only the RibbonLabel's icon is displayed.
- [RibbonLabel.ToolTip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/tooltip-property/llms-full.txt): Gets an object of type RibbonToolTip that displays text when the mouse pointer hovers over the item.

---

## Nearby

- **Previous:** [RibbonItemCollection.Remove Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonitemcollection/remove-method/llms-full.txt)
- **Next:** [RibbonLabel Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlabel/constructor/llms-full.txt)
