I am kind of new to wpf and I searched all over google and couldnt find specific answer to this, but if i have missed it sorry :).


Anyway I want to extend the textbox control in wpf and use it in winforms. so basically i did inherit from TextBox in wpf, and created 2 properties. Now when trying to put that in windows I had to create a usercontrol, but this is where the problem starts.


As winforms uses elementhost i cannot see those properties. Is there any other way to do this.


To summarize it all I want is to create my own extended control in wpf and use it in window form


Thanks

Hi! sam1

Here is a tutorial and tell me about your progress.

thanks but how do i access those properties ...

Install VS2010 or VS2008 Service Pack1.

I don't think you got what I meant.. I have vs2010... If I write my own property for extended textbox control, how can I see this in designer when wpf control is inside the element host.

hope it is clear

Sorry! my bad (: My answer is "no".

cool thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.