I have a custom IDE with few control, which can draw shapes. As I am exploring WPF ,I want to use WPFCustom Controls inside it.So,
I created a WPFUserControl which basically draws a Shape (like Rectangle for now).
Added WPFUserControl DLL to Winform Project.
Added - libraries
PresentationCore
PresentationFramework
WindowsBase
WindowsFormsIntegration
Created a custom control and hosted the WPFUserControl using ElementHost.But, when i try to place the control inside the IDE , it doesn't draw anything - I don't see any drawings.
How to use a WPF control / custom control/user control inside a Winform Custom Control
what i am trying to do is, embed wpfcontrol into winform IDE and perform drawings.
What Should i do now in order to use WPFControl inside a Custom IDE like other winform custom controls.
I am using .NET3.5