Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. WPF, love it or hate it?

WPF, love it or hate it?

Scheduled Pinned Locked Moved The Lounge
csharpwpfquestionlearning
60 Posts 28 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Preev

    What is it about WPF that gives it a "Wow" advantage over using standard controls? I've heard comments like this, but I don't understand the difference. I'm sure that's because I know little about WPF at this point, but I'd love it if you could elaborate.

    DP

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #6

    Well, WPF is built on DirectX. which means that any traditional limitations of controls, don't exist. It means all controls are integrated. It means you can draw a control any way you like. It also means you can animate things, such as windows that fly open, tabs that animate shut, etc.

    Christian Graus Driven to the arms of OSX by Vista.

    H 1 Reply Last reply
    0
    • P Preev

      What is it about WPF that gives it a "Wow" advantage over using standard controls? I've heard comments like this, but I don't understand the difference. I'm sure that's because I know little about WPF at this point, but I'd love it if you could elaborate.

      DP

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #7

      If you don't like the look of a control, just restyle it to change it. Want rounded textboxes, then just apply a CornerRadius. How about animated buttons - just apply a trigger.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      My blog | My articles | MoXAML PowerToys

      1 Reply Last reply
      0
      • P Preev

        WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

        DP

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #8

        I have, in small apps. I like it. The declarativeness, the ease of binding data to the UI.

        C 1 Reply Last reply
        0
        • P Preev

          WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

          DP

          C Offline
          C Offline
          ColinM123
          wrote on last edited by
          #9

          Tastes like chicken.

          1 Reply Last reply
          0
          • P Preev

            WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

            DP

            S Offline
            S Offline
            Super Lloyd
            wrote on last edited by
            #10

            Loved it, used it successfully. Won't do WinForm anymore if I can avoid it. In a way WPF is to WinForm what C# is C. Sure you can do the same thing in both.. but in WPF it's easier, more inherently safe, etc.. If you are a "business application writer" who only care about rows of text box and label you could still, at the very least, tremendously enjoy databinding! These Videos about a plugin to improve LOB developement will gives you some ideas... http://karlshifflett.wordpress.com/xaml-power-toys/[^]

            A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

            1 Reply Last reply
            0
            • P Preev

              WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

              DP

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #11

              What I don't like about it, is that often people (mis)use it to make obscenely flashy programs. What kind of value does that add to a program? IMO none at all, unless it's your purpose to make it look like an ad. Also I really don't like the way it nearly forces ClearType on you, why should it ignore a system-wide setting? ClearType looks like rainbows on CRT screens, so those of us who still have them (they're cheap, and with the crisis and all..) are stuck with applications with rainbowy text.

              1 Reply Last reply
              0
              • P Preev

                WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                DP

                E Offline
                E Offline
                Edbert P
                wrote on last edited by
                #12

                I love it. It's quite a learning curve compared to WinForms, especially with XAML and the new Blend tool (we're programmers, not designers). But I'm having grief with Silverlight and its limitations... :sigh:

                "A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin Edbert Sydney, Australia

                M 1 Reply Last reply
                0
                • P Preev

                  WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                  DP

                  T Offline
                  T Offline
                  thrakazog
                  wrote on last edited by
                  #13

                  I've tried really hard to like it but I keep falling back to the hate side. The concepts in WPF would be great if it wasn't wrapped up in XAML. I fricken hate XAML. So instead of having something like a nice InitializeComponent method where you can see the code being written for you, WPF takes your XAML and craps out a mysterious .g file behind the scenes. Want to debug or look at that? Good Luck. And oh yes, there will be compile problems in your .g file at least once a week. Then you have to stare at your XAML and wonder why, no error displayed in there. For me WPF could be a great technology if it wasn't ruined by XAML. You can pull off most of what WPF has to offer without XAML but good luck finding examples for that. Good display technology, horribly broken interface. There is also no visual inheritance to speak of. You can hack your way to something close to visual inheritance but it's just not the same. I give it a D-.

                  P P 2 Replies Last reply
                  0
                  • E Edbert P

                    I love it. It's quite a learning curve compared to WinForms, especially with XAML and the new Blend tool (we're programmers, not designers). But I'm having grief with Silverlight and its limitations... :sigh:

                    "A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin Edbert Sydney, Australia

                    M Offline
                    M Offline
                    Mycroft Holmes
                    wrote on last edited by
                    #14

                    Edbert P wrote:

                    we're programmers, not designers

                    Now that's my problem. I'm a data centric developer, I'm bloody hopeless at good GUI design (the reason I hate the web - all presentation) and WPF seems to be all about GUI. I have all my GUIs set up for late binding and no longer have to think about it and along comes WPF which wants let me bind EVERYTHING. Bloody new fangled technologies, MS always putting up new toys to play with and you can never be sure which ones will last grumble grumble mutter mutter

                    Never underestimate the power of human stupidity RAH

                    C 1 Reply Last reply
                    0
                    • P Preev

                      WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                      DP

                      D Offline
                      D Offline
                      Dmitri Nesteruk
                      wrote on last edited by
                      #15

                      I used WPF in a couple of small open-source projects and one midsize LOB app. I'm generally impressed with the results, though I wouldn't recommend WPF for, e.g., writing VS plug-ins. I still stick to WinForms for these applications.

                      1 Reply Last reply
                      0
                      • T thrakazog

                        I've tried really hard to like it but I keep falling back to the hate side. The concepts in WPF would be great if it wasn't wrapped up in XAML. I fricken hate XAML. So instead of having something like a nice InitializeComponent method where you can see the code being written for you, WPF takes your XAML and craps out a mysterious .g file behind the scenes. Want to debug or look at that? Good Luck. And oh yes, there will be compile problems in your .g file at least once a week. Then you have to stare at your XAML and wonder why, no error displayed in there. For me WPF could be a great technology if it wasn't ruined by XAML. You can pull off most of what WPF has to offer without XAML but good luck finding examples for that. Good display technology, horribly broken interface. There is also no visual inheritance to speak of. You can hack your way to something close to visual inheritance but it's just not the same. I give it a D-.

                        P Offline
                        P Offline
                        Phil Martin
                        wrote on last edited by
                        #16

                        That's my biggest gripe with it as well. Why use XML? honestly! Things would be so much simpler to understand if it used a format that was more tailored to the purpose. XAML is so exceedingly hard to read, one wonders why it was done that way. I'm sure there are lots of good technical reasons, it is just a shame is all. WPF has so many great concepts, but some parts of it are just mind bogglingly frustrating.

                        C 1 Reply Last reply
                        0
                        • P Preev

                          WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                          DP

                          _ Offline
                          _ Offline
                          _anil_
                          wrote on last edited by
                          #17

                          I love it!!! But I still have to find the "wow" factor. Cause I like it while developing on windows application. But don't like on web application. It behaves like downloading a ActiveX control on your computer to run the web page. Any how I am a novice on WPF...

                          Regards Anil

                          _ 1 Reply Last reply
                          0
                          • _ _anil_

                            I love it!!! But I still have to find the "wow" factor. Cause I like it while developing on windows application. But don't like on web application. It behaves like downloading a ActiveX control on your computer to run the web page. Any how I am a novice on WPF...

                            Regards Anil

                            _ Offline
                            _ Offline
                            _anil_
                            wrote on last edited by
                            #18

                            May be out of topic, but in addition how about LINQ ? I like it very much.

                            Regards Anil

                            1 Reply Last reply
                            0
                            • T thrakazog

                              I've tried really hard to like it but I keep falling back to the hate side. The concepts in WPF would be great if it wasn't wrapped up in XAML. I fricken hate XAML. So instead of having something like a nice InitializeComponent method where you can see the code being written for you, WPF takes your XAML and craps out a mysterious .g file behind the scenes. Want to debug or look at that? Good Luck. And oh yes, there will be compile problems in your .g file at least once a week. Then you have to stare at your XAML and wonder why, no error displayed in there. For me WPF could be a great technology if it wasn't ruined by XAML. You can pull off most of what WPF has to offer without XAML but good luck finding examples for that. Good display technology, horribly broken interface. There is also no visual inheritance to speak of. You can hack your way to something close to visual inheritance but it's just not the same. I give it a D-.

                              P Offline
                              P Offline
                              Pierre Leclercq
                              wrote on last edited by
                              #19

                              Well if you think you must use XAML to use WPF, then you should go back and learn more about it. You really do not have to do that, although it is very convenient and elegant when used correctly. All the classes used in WPF are part of the dotnet framework so you can do everything manually if this is your vehicle of choice, but XAML will help keep complexity down.

                              thrakazog wrote:

                              There is also no visual inheritance

                              There is actually visual inheritance, although it could be improved. This is what templates are about.

                              P T C 3 Replies Last reply
                              0
                              • P Preev

                                WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                                DP

                                N Offline
                                N Offline
                                NormDroid
                                wrote on last edited by
                                #20

                                My experience so far, it's great for business and non business apps that have rich UI. What lets WPF down it when it comes to process large amounts of information. For example I have a SQL studio written in Winforms that uses a custom listview for output/results, using the listview in WPF is 50% slower, this is purely down to the way WPF presents and renders UI and data. I thought going direct through DirectX would improved performance.

                                Software Kinetics - Moving software

                                P R 2 Replies Last reply
                                0
                                • C Christian Graus

                                  Well, WPF is built on DirectX. which means that any traditional limitations of controls, don't exist. It means all controls are integrated. It means you can draw a control any way you like. It also means you can animate things, such as windows that fly open, tabs that animate shut, etc.

                                  Christian Graus Driven to the arms of OSX by Vista.

                                  H Offline
                                  H Offline
                                  hairy_hats
                                  wrote on last edited by
                                  #21

                                  Christian Graus wrote:

                                  windows that fly open, tabs that animate shut

                                  X| I just want an interface that works quickly and cleanly. Animations are the first thing to go. No matter how powerful a machine I get it will always be displaying the simplest interface I can make the OS display.

                                  P 1 Reply Last reply
                                  0
                                  • P Preev

                                    WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                                    DP

                                    R Offline
                                    R Offline
                                    Rohde
                                    wrote on last edited by
                                    #22

                                    I like it. Being a web developer mainly, I find it WPF to be a much more natural way of doing desktop apps than WinForms, MFC etc. Obviously it is not as mature as WinForms, but is has some very nice ideas. For example the concept of using composition in the UI is absolutely wonderful. I also like the command concept, although it is a bit rough on the edges (no built in undo for example). The resolution independence is also nice - although it is a bit more complex than that in real life. Data binding is also nice. How one can use resources and styles is also very nice. Basically WPF combines the best of web and traditional desktop application development.


                                    "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                                    -Atlas Shrugged, Ayn Rand

                                    1 Reply Last reply
                                    0
                                    • H hairy_hats

                                      Christian Graus wrote:

                                      windows that fly open, tabs that animate shut

                                      X| I just want an interface that works quickly and cleanly. Animations are the first thing to go. No matter how powerful a machine I get it will always be displaying the simplest interface I can make the OS display.

                                      P Offline
                                      P Offline
                                      Phil Martin
                                      wrote on last edited by
                                      #23

                                      Simplest isn't always best for everybody. Animations as visual cues for things changing is incredibly useful in learning and every day use. So many times I've clicked on a menu item or a button and something change on the screen but I was too slow to catch it. Animation helps people link actions to results. Animations for animations sake though - waste of time. But animation as part of a useful design - very useful stuff!

                                      1 Reply Last reply
                                      0
                                      • P Pierre Leclercq

                                        Well if you think you must use XAML to use WPF, then you should go back and learn more about it. You really do not have to do that, although it is very convenient and elegant when used correctly. All the classes used in WPF are part of the dotnet framework so you can do everything manually if this is your vehicle of choice, but XAML will help keep complexity down.

                                        thrakazog wrote:

                                        There is also no visual inheritance

                                        There is actually visual inheritance, although it could be improved. This is what templates are about.

                                        P Offline
                                        P Offline
                                        Phil Martin
                                        wrote on last edited by
                                        #24

                                        You are right, you don't HAVE to use XAML, but when all the tools surrounding WPF all revolve around XAML, the choices are limited. XAML is okay, I just wish there was something better.

                                        1 Reply Last reply
                                        0
                                        • P Preev

                                          WPF sounds like a good idea, but I'm wondering if it's worth the learning curve. Has anyone here actually used it successfully? Any positive or negative comments?

                                          DP

                                          B Offline
                                          B Offline
                                          Brent Lamborn
                                          wrote on last edited by
                                          #25

                                          Hate it. I like Adobe's Flex platform much more. Databinding is much more intuitive, controls can be styled with regular CSS and I feel it provides more seperation between layers. Flex feels like a presentation layer. To me WPF feels like a mix between presentation and biz logic. Animations render far more smoothly in Flex as well. WPF doesn't do what you expect it to do sometimes given the XAML I'm staring at - therefore I've renamed it WTF. The Expressions stuff is odd - difficult to figure out.

                                          Brent

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups