AnsweredAssumed Answered

How to Occure a MouseDownEvent by program

Question asked by akedori39 on Aug 22, 2017
Latest reply on Aug 27, 2017 by akedori39

I would like to occur a MouseDownEvent by program.

 

My program's purpose is create a Feature by MyMapView.SketchEditor.

 

*Current Program flow:

1. 1st Click >  MyMapView.MouseDown Event "createFeature" method add.

MyMapView.MouseDown += createFeature;

2. 2nd Click > createFeature occured.

 

*I would like to this flow.

1. 1st Click > MyMapView.MouseDown Event "createFeature" method add + createFeature method occured.

 

So I think need to MouseDownEvnet by program.

What would you suggest I do?

Outcomes