GetActivatedItem Method
- 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
Returns the currently activated drawing. An activated drawing has the input focus and can be edited. The method returns null, if no drawing is activated.
Syntax
public DrawingFrame GetActivatedItem();Public Function GetActivatedItem() As DrawingFrameReturn Value
The return value is null, if an activated drawing could not be found. Otherwise, it is an object of the type DataVisualization.DrawingFrame.
Examples
The following example retrieves activated item from the drawing collection.
var result = drawingCollection.GetActivatedItem();
Console.WriteLine($"Get Activated Item result: {result}");Dim result = drawingCollection.GetActivatedItem()
Console.WriteLine($"Get Activated Item result: {result}")