![]() |
WPF with Skyline Globe |
Post Reply
|
| Author | |
chocstarfish
Visitor
Joined: September 11 2009 Online Status: Offline Posts: 1 |
Post Options
Quote Reply
Topic: WPF with Skyline GlobePosted: September 11 2009 at 6:48am |
|
Is it possible to build a WPF application with Skyline Globe since the latter can only be embeded as an ActiveX control? if yes, can anybody share any experience in developping such application?
I really appreciate that.
|
|
![]() |
|
sagi
Visitor
Joined: September 14 2009 Online Status: Offline Posts: 1 |
Post Options
Quote Reply
Posted: September 14 2009 at 9:23am |
|
To add TerraExplorer activex to a wpf application do the following: Add a regular window form, UserControl class (for example MyCtrl).
In the UserControl from designer add the TerraExplorer activex control.
In the WPF page add a tag: <WindowsFormsHost> for this example I will use <WindowsFromsHost Name="_host"/>
In the code part of the WPF you can now set the WindowsFromsHost element child as the UserControl using following api:
_host.Child=new MyCtrl()
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |