Select to view content in your preferred language

create custom markersymbol

562
1
03-01-2013 01:45 AM
MannusEtten
Emerging Contributor
i would like to build my own picturermarkersymbol, creating a new control template is not the problem.
but in my new marker symbol there will be some controls like buttons and i want to listen to the click-events.

so i created a new usercontrol and inherit from picturemarkersymbol, but this doesn't work.

so how can i create a custom usercontrol with controls where i can listen to the events.
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
You can listen to the button click events either by including directly a button in the symbol control Template and the event Handler in the .cs file, or by creating a user control (inheriting from UserControl) and including it in the symbol control Template.
0 Kudos