IsGlobalDrawingTool

View as Markdown

Definition

Indicates if the drawing tool is currently set as a Global Drawing object. Global draw objects display on any chart which matches the parent chart’s underlying instrument.

Property Value

A bool value which returns true if the drawing tool is currently attached as a global drawing object; otherwise false.

Syntax

IsGlobalDrawingTool

Examples

1public override void OnMouseMove(ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale, ChartAnchor dataPoint)
2{
3 // do not interact if attached to global chart
4 if (IsGlobalDrawingTool)
5 return;
6}