TX Text Control .NET for WPF

HeaderFooterActivationStyle Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value specifying the activation style for headers and footers.

Syntax

public HeaderFooterActivationStyle HeaderFooterActivationStyle { get; set; }

Members

ValueDescription
ActivateClickHeaders and footers are activated with a single mouse click.
ActivateDoubleClickHeaders and footers are activated with a double mouse click.

Examples

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

textControl.HeaderFooterActivationStyle = HeaderFooterActivationStyle.ActivateDoubleClick;
Console.WriteLine($"Header Footer Activation Style used by Text Control: {textControl.HeaderFooterActivationStyle}");