When application has a several legends, then the clicking on any FeatureLayer context actions (e.g. Properties, Join Excel, Export data, etc..) executes the action associated with this context menu several times (as much as legends number).
The problem is in FeatureLayerEventSender class, it should be not a singletone.
The best solution is in moving creating of all predefined context menu items from FeatureLayer.Configure() into inside of Legend (e.g. into OnInitializeItem() method)
The problem is in FeatureLayerEventSender class, it should be not a singletone.
The best solution is in moving creating of all predefined context menu items from FeatureLayer.Configure() into inside of Legend (e.g. into OnInitializeItem() method)