DrawingFrame Property
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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.