# InputFormat.InnerHorizontalFrameLines Property

> Gets or sets a value specifying whether all inner horizontal frame lines are set for the selected text. This can be either table frame lines or lines between paragraphs.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl > InputFormat.InnerHorizontalFrameLines Property
- **644 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputformat/innerhorizontalframelines-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputformat/innerhorizontalframelines-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputformat/innerhorizontalframelines-property/llms-full.txt

---

### Description

Gets or sets a value specifying whether all inner horizontal frame lines are set for the selected text. This can be either table frame lines or lines between paragraphs.

### Syntax

```csharp
public bool InnerHorizontalFrameLines { get; set; }
```

```vbnet
Public Property InnerHorizontalFrameLines As Boolean
```

### Examples

The following XAML example shows how to bind the InnerHorizontalFrameLines property to a checkable menu item.

```plaintext
<MenuItem
    IsCheckable="True"
    Header="Inner Horizontal Frame Lines"
    IsChecked="{Binding ElementName=textControl1, Path=InputFormat.InnerHorizontalFrameLines}" />
```

The following example changes the formatting applied to text entered at the end of a document by using `InputFormat.InnerHorizontalFrameLines`.

```csharp
textControl.Text = "Project summary";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
InputFormat inputFormat = textControl.InputFormat;

inputFormat.InnerHorizontalFrameLines = true;
if (inputFormat.InnerHorizontalFrameLines)
{
    Console.WriteLine("Input Format: Inner Horizontal Frame Lines is enabled.");
}
```

```vbnet
textControl.Text = "Project summary"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
Dim inputFormat As InputFormat = textControl.InputFormat

inputFormat.InnerHorizontalFrameLines = True
If inputFormat.InnerHorizontalFrameLines Then
    Console.WriteLine("Input Format: Inner Horizontal Frame Lines is enabled.")
End If
```

---

## Nearby

- **Previous:** [InputFormat.HangingIndent Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputformat/hangingindent-property/llms-full.txt)
- **Next:** [InputFormat.InnerVerticalFrameLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputformat/innerverticalframelines-property/llms-full.txt)
