DeactivateItem Method
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Deactivates the activated drawing and sets the input focus back to the text part that contains the drawing.
Syntax
public bool DeactivateItem();Public Function DeactivateItem() As BooleanReturn Value
The return value is true, if a drawing has been deactivated. Otherwise it is false.
Examples
The following example deactivates the current item in the drawing collection.
if (drawingCollection.DeactivateItem())
{
Console.WriteLine("Deactivate Item completed successfully.");
}If drawingCollection.DeactivateItem() Then
Console.WriteLine("Deactivate Item completed successfully.")
End If