TX Text Control .NET for Windows Forms

TextFrame Property

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

Description

Gets an object that represents the text frame which causes the event. It is of the type TextFrame.

Syntax

public TextFrame TextFrame { get; }

Examples

The following example uses TextFrameEventArgs.TextFrame while handling TextFrameClicked.

textControl.TextFrameClicked += (_, e) =>
{
    if (e.TextFrame != null)
    {
        e.TextFrame.DescriptiveText = "Quarterly sales by region";
    }
};

Limitations

Read only.