Hi,
I want to use the WPF control in a software with MVVM architecture.I want to know:
- do you have any sample /best prctice of using control on MVVM architecture?
- does the control work fine using dependecies properties?
Regards,
Ben
Hi,
I want to use the WPF control in a software with MVVM architecture.I want to know:
Regards,
Ben
Hi Ben,
Actually, we don't have much scenarios for using binding with the Wpf Map control; I'd rather recommend you to use map control as a model; here I attached a simple sample which shows you the MVVM using our map control.
We have some dependency property in the map control, but some property is not good to use dependency property; for example CurrentExtent, if we defined it as dependency property, it really affects the performance because we don't need redraw the map every time the extent changed.
Please let us know if you have any scenario to use dependency property in your project, we'll carefully consider it.
Thanks,
Howard
Post7836.zip (8.65 KB)
thanks for your great help.
Hi Ben,
No problem, please feel free to let me know if you have more queries.
Thanks,
Howard