# WPF Control Questions

**URL:** <https://community.thinkgeo.com/t/wpf-control-questions/1261>\
**Category:** WinForms\
**Created:** [May 28, 2010, 8:21am UTC](https://community.thinkgeo.com/t/wpf-control-questions/1261 "2010-05-28T08:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David6](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/22d042/32.png) [@David6](https://community.thinkgeo.com/u/David6)\
**Post date:** [May 28, 2010, 8:21am UTC](https://community.thinkgeo.com/t/wpf-control-questions/1261/1 "2010-05-28T08:21:57Z")

</div>

We&nbsp;are&nbsp;currently&nbsp;developing&nbsp;a&nbsp;WPF&nbsp;application&nbsp;centered&nbsp;around&nbsp;the&nbsp;Desktop&nbsp;Edition&nbsp;control.&nbsp;There&nbsp;are&nbsp;alot&nbsp;of&nbsp;things&nbsp;within&nbsp;WPF&nbsp;that&nbsp;would&nbsp;make&nbsp;using&nbsp;this&nbsp;control&nbsp;very&nbsp;easy&nbsp;(and&nbsp;slick)&nbsp;to&nbsp;use.&nbsp;I've&nbsp;downloaded&nbsp;the&nbsp;daily&nbsp;build&nbsp;and&nbsp;played&nbsp;around&nbsp;with&nbsp;the&nbsp;WpfMap&nbsp;control.

  
&nbsp;&nbsp;&nbsp;&nbsp;1. Can&nbsp;anyone&nbsp;tell&nbsp;me&nbsp;if&nbsp;this&nbsp;control&nbsp;is&nbsp;a&nbsp;pure&nbsp;WPF&nbsp;control?&nbsp;(as&nbsp;opposed&nbsp;to&nbsp;a&nbsp;WinForms&nbsp;control&nbsp;wrapped&nbsp;inside&nbsp;a&nbsp;WinFormsHost&nbsp;object)
  
&nbsp;&nbsp;&nbsp;&nbsp;2. Are&nbsp;any&nbsp;of&nbsp;the&nbsp;controls&nbsp;properties&nbsp;"dependency&nbsp;properties"?&nbsp;It&nbsp;would&nbsp;be&nbsp;nice&nbsp;to&nbsp;use&nbsp;databinding&nbsp;to&nbsp;bind&nbsp;to&nbsp;the&nbsp;Overlays&nbsp;collection.&nbsp;Further&nbsp;to&nbsp;that,&nbsp;the&nbsp;Layers&nbsp;themselves&nbsp;have&nbsp;a&nbsp;ZoomLevelSet&nbsp;property,&nbsp;and&nbsp;it&nbsp;would&nbsp;be&nbsp;incredibly&nbsp;useful&nbsp;for&nbsp;us&nbsp;if&nbsp;those&nbsp;style&nbsp;properties&nbsp;were&nbsp;bindable.
  
&nbsp;&nbsp;&nbsp;&nbsp;3. Can&nbsp;we&nbsp;seen&nbsp;any&nbsp;performance&nbsp;improvements&nbsp;in&nbsp;the&nbsp;WPF&nbsp;version&nbsp;over&nbsp;the&nbsp;WinForms&nbsp;one?
  
&nbsp;&nbsp;&nbsp;&nbsp;4. Any&nbsp;plans&nbsp;for&nbsp;making&nbsp;this&nbsp;control&nbsp;WPF&nbsp;3D&nbsp;capable?&nbsp;I&nbsp;can&nbsp;see&nbsp;it&nbsp;being&nbsp;used&nbsp;for&nbsp;rich&nbsp;map&nbsp;interactions&nbsp;like&nbsp;representing&nbsp;layers&nbsp;in&nbsp;3D&nbsp;etc.
  

  

Any&nbsp;answers&nbsp;or&nbsp;comments&nbsp;will&nbsp;be&nbsp;appreciated.

David

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [May 30, 2010, 7:59pm UTC](https://community.thinkgeo.com/t/wpf-control-questions/1261/2 "2010-05-30T19:59:10Z")

</div>

David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;welcome&nbsp;you&nbsp;to&nbsp;ThinkGeo&nbsp;Discussion&nbsp;Forum,&nbsp;hope&nbsp;my&nbsp;following&nbsp;answer&nbsp;can&nbsp;give&nbsp;you&nbsp;some&nbsp;help:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1)&nbsp;The&nbsp;WPF&nbsp;control&nbsp;up&nbsp;to&nbsp;now&nbsp;is&nbsp;not&nbsp;a&nbsp;pure&nbsp;WPF&nbsp;control,&nbsp;as&nbsp;you&nbsp;already&nbsp;thought;&nbsp;it&nbsp;is&nbsp;a&nbsp;WinFromsHost&nbsp;object&nbsp;with&nbsp;GDI+&nbsp;drawing&nbsp;system&nbsp;involved.&nbsp;  
&nbsp;While&nbsp;good&nbsp;news&nbsp;is&nbsp;that&nbsp;we&nbsp;are&nbsp;going&nbsp;to&nbsp;release&nbsp;a&nbsp;pure&nbsp;WPF&nbsp;control&nbsp;very&nbsp;soon,&nbsp;probably&nbsp;within&nbsp;two&nbsp;weeks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;2)&nbsp;I&nbsp;am&nbsp;not&nbsp;sure&nbsp;what&nbsp;you&nbsp;are&nbsp;referring&nbsp;to&nbsp;for&nbsp;the&nbsp;“dependency&nbsp;properties”?&nbsp;We&nbsp;have&nbsp;a&nbsp;bunch&nbsp;of&nbsp;properties&nbsp;for&nbsp;the&nbsp;Control&nbsp;itself,&nbsp;Overlay,&nbsp;Layer&nbsp;etc.&nbsp;We&nbsp;can&nbsp;control&nbsp;completely&nbsp;for&nbsp;those&nbsp;properties&nbsp;with&nbsp;coding.&nbsp;  
&nbsp;&nbsp;  
&nbsp;3)&nbsp;We&nbsp;did&nbsp;some&nbsp;enhancement&nbsp;on&nbsp;the&nbsp;WPF&nbsp;performance,&nbsp;while&nbsp;it&nbsp;seems&nbsp;it&nbsp;is&nbsp;still&nbsp;much&nbsp;slower&nbsp;compare&nbsp;to&nbsp;Winforms&nbsp;map&nbsp;control.&nbsp;Luckily,&nbsp;we&nbsp;will&nbsp;get&nbsp;much&nbsp;improvement&nbsp;in&nbsp;the&nbsp;next&nbsp;new&nbsp;WPF&nbsp;version.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;4)&nbsp;Now,&nbsp;we&nbsp;cannot&nbsp;support&nbsp;the&nbsp;3D&nbsp;support&nbsp;no&nbsp;matter&nbsp;it&nbsp;is&nbsp;winforms&nbsp;or&nbsp;wpf&nbsp;version,&nbsp;we&nbsp;planed&nbsp;to&nbsp;do&nbsp;some&nbsp;investigation&nbsp;on&nbsp;this&nbsp;in&nbsp;future.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;questions&nbsp;just&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;
