# TextControl.HeaderFooterFrameStyle Property

> Gets or sets a value specifying the frame for activated headers and footers.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.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.HeaderFooterFrameStyle Property
- **445 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/headerfooterframestyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/headerfooterframestyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/headerfooterframestyle-property/llms-full.txt

---

### Description

Gets or sets a value specifying the frame for activated headers and footers.

### Syntax

```csharp
public HeaderFooterFrameStyle HeaderFooterFrameStyle { get; set; }
```

```vbnet
Public Property HeaderFooterFrameStyle As HeaderFooterFrameStyle
```

### Members

| Value | Description |
|---|---|
| DividingLine | Draws a dividing line between an activated header or footer and the main text. |
| DottedFrame | Activated headers and footers have a dotted frame. |
| NoFrame | Activated headers and footers have no frame. |
| SingleFrame | Activated headers and footers have single frame. |

### Examples

The following example uses `TextControl.HeaderFooterFrameStyle` to configure header footer frame style as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.HeaderFooterFrameStyle = HeaderFooterFrameStyle.DottedFrame;
Console.WriteLine($"Header Footer Frame Style used by Text Control: {textControl.HeaderFooterFrameStyle}");
```

```vbnet
textControl.HeaderFooterFrameStyle = HeaderFooterFrameStyle.DottedFrame
Console.WriteLine($"Header Footer Frame Style used by Text Control: {textControl.HeaderFooterFrameStyle}")
```

---

## Nearby

- **Previous:** [TextControl.HeaderFooterDeactivated Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/headerfooterdeactivated-event/llms-full.txt)
- **Next:** [TextControl.HeadersAndFooters Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/headersandfooters-property/llms-full.txt)
