TX Text Control .NET for WPF

Selection Property

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

Description

Gets an object of type Drawing.Selection that represents the current selected shapes inside the TX Drawing Control.

Syntax

public Selection Selection { get; }

Examples

The following example includes the selection value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Selection: {tXDrawingControl.Selection}");
Console.WriteLine("TXDrawing Control is ready for use.");

Limitations

Read only.