# TextControl.FrameLineColorDialog Method

> Invokes the built-in dialog box for choosing a color for the frame of a paragraph or a table.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.FrameLineColorDialog Method
- **299 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/framelinecolordialog-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/framelinecolordialog-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/framelinecolordialog-method/llms-full.txt

---

### Description

Invokes the built-in dialog box for choosing a color for the frame of a paragraph or a table.

### Syntax

```csharp
public DialogResult FrameLineColorDialog();
```

```vbnet
Public Function FrameLineColorDialog() As DialogResult
```

### Return Value

If the dialog has been left with the Cancel button the return value is DialogResult.Cancel. Otherwise, it is DialogResult.OK.

### Examples

The following example opens the frame line color dialog for the text control.

```csharp
var result = textControl.FrameLineColorDialog();
Console.WriteLine($"Frame Line Color Dialog result: {result}");
```

```vbnet
Dim result = textControl.FrameLineColorDialog()
Console.WriteLine($"Frame Line Color Dialog result: {result}")
```

---

## Nearby

- **Previous:** [TextControl.FrameLayoutChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/framelayoutchanged-event/llms-full.txt)
- **Next:** [TextControl.FrameMoved Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/framemoved-event/llms-full.txt)
