Re: WPF apps using .NET 2.0 assemblies? Can it be done?
- From: Damien <Damien_The_Unbeliever@xxxxxxxxxxx>
- Date: Mon, 18 Feb 2008 01:06:15 -0800 (PST)
On Feb 15, 6:59 am, "RobinS" <rob...@xxxxxxxxxxxxxxxx> wrote:
"Damien" <Damien_The_Unbelie...@xxxxxxxxxxx> wrote in message
news:098ddb2f-fbc1-40d0-a4a2-4508816f285a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 9, 4:06 am, eljainc <elja...@xxxxxxxxxxxxx> wrote:
Hello,
I am writing some basic WPF applications using VS 2005 with the WPF
extensions. I am building a specific WPF application which uses WPF
Windows (not Winforms). I notice that .NET 2.0 components cannot be
used on these forms. Is there any way to shoehorn the .NET 2.0
components on to a WPF form? If I had the source code to these
assemblies, could they be published to a .NET 3.0/3.5 assembly so that
it would work on the WPF Window?
Thanks.
Mike
Hi Mike,
Have you looked at the WindowsFormsHost from
System.Windows.Forms.Integration? It lets you put the WinForms
controls inside WPF, which I think is what you're asking for.
Damien
==========================
Damien,
What about the other way around? Will it let you put WPF controls on a
Windows form?
RobinS.
There is a similar control that lets you do that. Typing "host wpf
winforms" into google found an MSDN walkthrough as the first link.
Damien
.
- Follow-Ups:
- References:
- WPF apps using .NET 2.0 assemblies? Can it be done?
- From: eljainc
- Re: WPF apps using .NET 2.0 assemblies? Can it be done?
- From: Damien
- Re: WPF apps using .NET 2.0 assemblies? Can it be done?
- From: RobinS
- WPF apps using .NET 2.0 assemblies? Can it be done?
- Prev by Date: Re: LINQ Book
- Next by Date: Re: Problem writing non-englisg characters (re-post)
- Previous by thread: Re: WPF apps using .NET 2.0 assemblies? Can it be done?
- Next by thread: Re: WPF apps using .NET 2.0 assemblies? Can it be done?
- Index(es):
Relevant Pages
|