Selection Property
- Namespace
TXTextControl.WPF. Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets an object of type Drawing.Selection that represents the current selected shapes inside the TX Drawing Control.
Syntax
public Selection Selection { get; }Public ReadOnly Property Selection As SelectionExamples
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.");Console.WriteLine($"Selection: {tXDrawingControl.Selection}")
Console.WriteLine("TXDrawing Control is ready for use.")Limitations
Read only.