TX Text Control .NET for WPF

SelectObjects Property

Property|Introduced in 25.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 controlling the selection of objects which are inserted behind the text. When the property is set to true, a mouse click selects the object behind the text. Otherwise, when this property is set to false, text in front of the object can be selected.

Syntax

public bool SelectObjects { get; set; }

Examples

The following example uses TextControl.SelectObjects to configure select objects as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.SelectObjects = true;
if (textControl.SelectObjects)
{
    Console.WriteLine("Text Control: Select Objects is enabled.");
}