TX Text Control .NET for Windows Forms

IsSelected Property

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

Description

Gets a value which indicates whether the shape is selected or not. The default value is false.

Syntax

public bool IsSelected { get; }

Examples

The following example checks the is selected state before recording the object's current status.

if (shape.IsSelected)
{
    Console.WriteLine("Shape is ready for this operation.");
}

Limitations

Read only.