# InputFormat.AllFrameLines Property

> Gets or sets a value specifying whether all frame lines, including all inner frame lines, are set for the selected text. If text is selected, the property specifies this attribute for the whole selected text.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.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 > InputFormat.AllFrameLines Property
- **624 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/inputformat/allframelines-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/inputformat/allframelines-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/inputformat/allframelines-property/llms-full.txt

---

### Description

Gets or sets a value specifying whether all frame lines, including all inner frame lines, are set for the selected text. If text is selected, the property specifies this attribute for the whole selected text.

### Syntax

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

```vbnet
Public Property AllFrameLines As Boolean
```

### Examples

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

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

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

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

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

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

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

---

## Nearby

- **Previous:** [InputFormat Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/inputformat/llms-full.txt)
- **Next:** [InputFormat.Bold Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/inputformat/bold-property/llms-full.txt)
