DrawingFrame Property
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public ReadOnly Property DrawingFrame As DrawingFrameExamples
The following example uses DrawingEventArgs.DrawingFrame while handling DrawingClicked.
textControl.DrawingClicked += (_, e) =>
{
if (e.DrawingFrame != null)
{
e.DrawingFrame.DescriptiveText = "Quarterly sales by region";
}
};AddHandler textControl.DrawingClicked,
Sub(sender, e)
If e.DrawingFrame IsNot Nothing Then
e.DrawingFrame.DescriptiveText = "Quarterly sales by region"
End If
End SubLimitations
Read only.