Hi all
I have a user control that gives some options for a layer (include layer name and some comboboxes depend of the specific layer).
When I press a button to open the Dockpane I would like to insert this user control once for each layer in the map and fill them up.
If I have 3 layers I will insert 3 user controls into the Dockpane and if I have 5 layers - 5 user controls.
No need to get the event of adding layers, I assume the user will press the button if he change the number of layers.
Any code samples?
Thanks