Tempted to not answer, as I'm still learning myself, so I wouldn't classify "my way" as the "best way" of doing things.
I do use all three, though positioning and layout more so in Expression Blend now that I'm more used to it. Also my editing directly in the xaml came primarily because the early version of Silverlight that I "learnt" with didn't have a "design view" in VS2008 (so my "learning projects" certainly didn't look very pretty, but in hindsight it turned out to be a good thing in that it "forced" me in a way to know how the layout would look / operate etc based on the xaml, but now that design view is in VS2010 & EB, using those for layout is certainly easier (but that may be something of a personal choice), so I'd say in the end use which best works for you, but I'd suggest from a learning pov, try not using the designer in the beginning (like I say, it might not look pretty, but you'll get a good understanding of the controls and xaml), and then the designer in VS2010 and EB will be easier to use; at least that's what worked for me ;o) [$0.02] From: [email protected] [mailto:[email protected]] On Behalf Of Kirsten Greed Sent: Wednesday, 23 November 2011 4:07 PM To: 'ozWPF' Subject: RE: Getting up to speed in wpf Hi Brian Thanks for the link to Karls' training. It was very useful. Your narrative captures my frustration and hopes. I am wondering about positioning fields on the controls - do you tend to write XAML or use the designer? Kirsten _____ From: [email protected] [mailto:[email protected]] On Behalf Of Brian Whitehorn Sent: Wednesday, 23 November 2011 11:01 AM To: 'ozWPF' Subject: RE: Getting up to speed in wpf Hi Kirsten, I'm also new to WPF via WinForms via VB6 via COBOL, and by no means a WPF expert, but I have found while WPF allows for the same "style" of building a form as to what WinForms did, there is far more power and flexibility to be had by not doing it the winforms way. A resource I found very useful (apart from "forgetting what I 'know', which is often the hardest") was "In the Box - MVVM training" http://karlshifflett.wordpress.com/2010/11/07/in-the-box-ndash-mvvm-training / I found the whole process goes something along the lines of "I used to be able to do this in 2 minutes, this is soooo much more", to "aaah, that's pretty cool", to "nah, 5 minutes ago and I'd have already been finished", to "nice, this will allow for much better reuse".. it'll take time to get to grips, don't give up, the more you carry on with it, the picture becomes clearer (like putting pieces of a puzzle together) . I'll try find my list of other links I stored when 1st delving into the WPF bits. Enjoy! Cheers, Brian. PS > even before the mvvm, I just plonked controls into the XAML and altered by hand editing the xaml, just to get a feel for what the xaml does, and what properties etc on the "mainly used" controls used. Understanding how the xaml and the controls made the step to the designer in VS and Expression Blend much easier to understand per what I was trying to achieve. From: [email protected] [mailto:[email protected]] On Behalf Of Kirsten Greed Sent: Wednesday, 23 November 2011 10:46 AM To: [email protected] Subject: Getting up to speed in wpf Hi All I am new to WPF and missing the winforms way of doing things . I am wondering about the best way to get up to speed Do people usually set the data source and drag drop controls onto the designer - or use write XAML - or use Expression Blend - or something else? Pros and Cons? Thanks Kirsten __________ Information from ESET NOD32 Antivirus, version of virus signature database 6652 (20111122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
_______________________________________________ ozwpf mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
