TextFrame Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object that represents the text frame which causes the event. It is of the type TextFrame.
Syntax
public TextFrame TextFrame { get; }Public ReadOnly Property TextFrame As TextFrameExamples
The following example uses TextFrameEventArgs.TextFrame while handling TextFrameClicked.
textControl.TextFrameClicked += (_, e) =>
{
if (e.TextFrame != null)
{
e.TextFrame.DescriptiveText = "Quarterly sales by region";
}
};AddHandler textControl.TextFrameClicked,
Sub(sender, e)
If e.TextFrame IsNot Nothing Then
e.TextFrame.DescriptiveText = "Quarterly sales by region"
End If
End SubLimitations
Read only.