WPF - where does it fit in?

  • Thread starter Thread starter farseer
  • Start date Start date
F

farseer

Is WPF going replace Winforms?
Where can WPF applications run currently? Must you have .net3.0
installed?
 
farseer said:
Is WPF going replace Winforms?
Where can WPF applications run currently? Must you have .net3.0
installed?

My impression is that WPF will indeed replace Forms.
Yes you need to have 3.0 for it, although I haven't had the time to play
around with it so I can't tell you how to make it work.
 
farseer said:
Is WPF going replace Winforms?
Where can WPF applications run currently? Must you have .net3.0
installed?

WPF and WinForms can co-exist, and there is support for mixing them in "both
directions", i.e. you can embed winforms controls in a WPF application, or
WPF controls in a WinForms application. The support for mixing them isn't
perfect though - IIRC you can't embed a WPF control in a Winforms control
that is itself embedded in a WPF control - the inner WPF control won't
participate correctly in the WPF eventing and properties model.

Whether WPF will eventually replace Winforms is another question - for the
time being, they both exist, and they each have their own strengths and
weaknesses. To some extent, they serve different constituencies, so they
could co-exist for several years.

You do need the 3.0 framework installed to use WPF. The default appearance
of a WPF app will depend on the OS on which it's installed, and the theme
that's in use. For example, on XP with the "Classic Windows" (i.e. windows
2000) look, a WPF app will by default look like an ordinary windows app.
The same app on Vista with Aero will have an Aero look instead.

-cd
 
Hi,

That is the plan , eventually to replace winforms with WPF , but IMO they
will coexist for a long time, there are a lot of apps that use winForms (or
they win 32 contraparts) that will not be replaced so MS will have to
mantain them for the foreseable future.
 
Perhaps ultimately it will replace, but that will take some time. The idea
is you can now declaratively set up form UI, which is a nice thing.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top