Activate Method
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Activates the drawing so that its contents can be edited. A drawing can only be activated, if the text part that contains the drawing has the input focus.
Syntax
public bool Activate();Public Function Activate() As BooleanReturn Value
The return value is true, if the drawing could be activated. Otherwise it is false.
Examples
The following example activates the drawing frame.
if (drawingFrame.Activate())
{
Console.WriteLine("Activate completed successfully.");
}If drawingFrame.Activate() Then
Console.WriteLine("Activate completed successfully.")
End If