DisplayOnChartsMenus

View as Markdown

Definition

Determines if the drawing tool displays in the chart’s drawing tool menus.

Property Value

A bool value, when true the drawing tool will be created on the chart’s drawing tool menu; otherwise false. Default value is true.

Syntax

DisplayOnChartsMenus

Examples

1protected override void OnStateChange()
2{
3 if (State == State.SetDefaults)
4 {
5 Name = @"My Drawing Tool";
6 DisplayOnChartsMenus = true;
7 }
8}