TX Text Control .NET Server

DrawingFrame Property

Property|Introduced in 23.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets an object that represents the drawing which causes the event. It is of the type DataVisualization.DrawingFrame.

Syntax

public DrawingFrame DrawingFrame { get; }

Examples

The following example uses DrawingEventArgs.DrawingFrame while handling DrawingClicked.

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

Limitations

Read only.