# FrameBase.DescriptiveText Property

> Gets or sets a descriptive text for the frame. An empty string indicates that the frame has no such text. An empty string can also be used to delete a previously set text.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 34.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > FrameBase.DescriptiveText Property
- **662 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/descriptivetext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/descriptivetext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/descriptivetext-property/llms-full.txt

---

### Description

Gets or sets a descriptive text for the frame. An empty string indicates that the frame has no such text. An empty string can also be used to delete a previously set text.

### Syntax

```csharp
public string DescriptiveText { get; set; }
```

```vbnet
Public Property DescriptiveText As String
```

### Examples

The following example adds a callout frame and works with it through the common frame API by using `FrameBase.DescriptiveText`.

```csharp
TextFrame callout = new(new System.Drawing.Size(3000, 1200)) { Name = "Callout" };
textControl.TextFrames.Add(callout, TextFrameInsertionMode.DisplaceText);
FrameBase frameBase = callout;

frameBase.DescriptiveText = "Quarterly sales by region";
if (!string.IsNullOrWhiteSpace(frameBase.DescriptiveText))
{
    Console.WriteLine($"Descriptive Text: {frameBase.DescriptiveText}");
}
```

```vbnet
Dim callout As New TextFrame(New System.Drawing.Size(3000, 1200)) With { .Name = "Callout" }
textControl.TextFrames.Add(callout, TextFrameInsertionMode.DisplaceText)
Dim frameBase As FrameBase = callout

frameBase.DescriptiveText = "Quarterly sales by region"
If Not String.IsNullOrWhiteSpace(frameBase.DescriptiveText) Then
    Console.WriteLine($"Descriptive Text: {frameBase.DescriptiveText}")
End If
```

---

## Nearby

- **Previous:** [FrameBase.ChangeZOrder Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/changezorder-method/llms-full.txt)
- **Next:** [FrameBase.ID Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/framebase/id-property/llms-full.txt)
