# ParagraphFormat.FrameLineColor Property

> Gets or sets the color used for the frame lines of a paragraph.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.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 > ParagraphFormat.FrameLineColor Property
- **648 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraphformat/framelinecolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraphformat/framelinecolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraphformat/framelinecolor-property/llms-full.txt

---

### Description

Gets or sets the color used for the frame lines of a paragraph.

### Syntax

```csharp
public Color FrameLineColor { get; set; }
```

```vbnet
Public Property FrameLineColor As Color
```

### Examples

The following example applies paragraph layout to selected report text by using `ParagraphFormat.FrameLineColor`.

```csharp
textControl.Text = "First item\nSecond item\nThird item";
textControl.Select(0, textControl.Text.Length);
ParagraphFormat paragraphFormat = textControl.Selection.ParagraphFormat;

paragraphFormat.FrameLineColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Frame Line Color used by Paragraph Format: {paragraphFormat.FrameLineColor}");

textControl.Selection.ParagraphFormat = paragraphFormat;
```

```vbnet
textControl.Text = "First item" & vbCrLf & "Second item" & vbCrLf & "Third item"
textControl.Select(0, textControl.Text.Length)
Dim paragraphFormat As ParagraphFormat = textControl.Selection.ParagraphFormat

paragraphFormat.FrameLineColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Frame Line Color used by Paragraph Format: {paragraphFormat.FrameLineColor}")

textControl.Selection.ParagraphFormat = paragraphFormat
```

### Remarks

The property's default value is SystemColors.WindowText.

The property returns its default value when the text selection contains multiple paragraphs with mixed frame colors. The [Selection.IsCommonValueSelected](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selection/iscommonvalueselected-method/llms-full.txt) method can be used to check for mixed attributes.

---

## Nearby

- **Previous:** [ParagraphFormat.FrameDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraphformat/framedistance-property/llms-full.txt)
- **Next:** [ParagraphFormat.FrameLineWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraphformat/framelinewidth-property/llms-full.txt)
