# IconTextRelation Enumeration

> Specifies the position of the text and the kind of icon relative to each other on objects of type RibbonButton and RibbonTextBox:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **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
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > IconTextRelation Enumeration
- **648 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/icontextrelation/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/icontextrelation/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/icontextrelation/enumeration/llms-full.txt

---

### Description

Specifies the position of the text and the kind of icon relative to each other on objects of type [RibbonButton](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonbutton/llms-full.txt) and [RibbonTextBox](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontextbox/llms-full.txt):

### Syntax

```csharp
public enum IconTextRelation
```

```vbnet
Public Enum IconTextRelation
```

### Members

| Member | Value | Description |
|---|---|---|
| LargeIconLabeled | 8 | If the object is part of a [RibbonGroup](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/llms-full.txt) the item displayes its large icon above its text. If the item is an object of type RibbonButton and inserted as a drop-down item, the image is displayed horizontally before the text and the description text. |
| SmallIconLabeled | 4 | The item displayes its small icon horizontally before the text. |
| SmallIconUnlabeled | 2 | The item's small icon is displayed, but not its text. |
| NoIconLabeled | 1 | Only the item's text is displayed. |

### Examples

The following example selects the No Icon Labeled value from the Icon Text Relation enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.Windows.Forms.Ribbon.IconTextRelation value = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled;
Console.WriteLine($"Using Icon Text Relation: {value}");
```

```vbnet
Dim value As TXTextControl.Windows.Forms.Ribbon.IconTextRelation = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled
Console.WriteLine($"Using Icon Text Relation: {value}")
```

---

## Nearby

- **Previous:** [HorizontalRibbonGroup.InsertRange Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/horizontalribbongroup/insertrange-method/llms-full.txt)
- **Next:** [Ribbon Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon/llms-full.txt)
