SupportsAlerts

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Drawing Tool >

SupportsAlerts

Previous page Return to chapter overview Next page

Definition

Determines if the drawing tool can be used for manually configured alerts through the UI.

 

Property Value

A bool which when true determines that user can setup an alert based off this drawing tool;  otherwise false.

 

Note:  This property is false by default and MUST be overridden upon initialization to allow for manually configured alerts.  You cannot set this during run-time.

 

 

Syntax

SupportsAlerts

 

You may choose to override this property using the following syntax:

 

public override bool SupportsAlerts

 

 

Examples

ns


public override bool SupportsAlerts { get { return true; } }