Is there a way to prevent a custom drawing tool from being shown in the chart Drawing Tools menu and/or prevent it from being available for use by users for performing manual drawing with it?
The scenario is that I am exploring the idea of implementing a custom drawing tool to create custom drawings that natively allow for user interaction and manipulation with analysis (e.g. price zones) generated by the software through user interaction such as menu items, mouse clicks, etc.
However, I want the drawing tools *only* to be generated programmatically from within our code only, as they are relevant only to interacting with analysis generated by the software, and not to arbitrary manual drawing done by the user.
Is there any way to accomplish this? If not, it would be nice to have some type of property or class-level attribute that could exclude the drawing tool from inclusion in the Drawing Tools Menu/UI.
And, related to that, it would also be nice to be able to exclude instances of such drawing objects from the collection of drawing objects in the "Drawing Objects" dialog as well if the intention is to not be able to update and change the general properties such as the appearance, etc. via that route.
I did already try the "DisplayOnChartsMenus" property, and cannot tell what that accomplishes, if anything. It is an instance property, so I would not expect that to have the desired effect.
Thanks!
Comment