+1 Blend generates good XAML
I'm still impressed at how clean the XAML that Blend generates is.
Microsoft seem to have learned from the past (anyone remember the XML
Word used to spit out? *shudder* ) and paid particular attention to the
generated code.
I rarely drag elements around the design surface; always use the
property pane (yes, even for positioning). The only problem you'll run
into after that is when you change grouping containers; the code
generator doesn't seem to do too well there.
I still do a tidy up by hand, but that's only because sometimes it's
quicker to make bulk changes in XAML (such as when you're moving a bunch
of elements around in a grid).
Carl.
Carl Scarlett
Senior .NET/WPF Developer, UX Designer - Genesis Team
IT Applications Delivery | Bankwest
A: Level 5, 199 Hay Street | Perth | Western Australia | 6004
P: (08) 9449 8703
M: 0408 913 870
E: [email protected]
AFR Smart Investor Blue Ribbon Awards
2010 Bank of the Year
From: [email protected] [mailto:[email protected]]
On Behalf Of Miguel Madero <[email protected]>
Sent: Tuesday, 26 October 2010 11:04 AM
To: ozWPF <[email protected]>
Subject: Re: Should I give up?
>Hand coded?
That's just so old school. I know most of you feel super productive now
with hand coding. I certainly was in the same position and I've to
admit, it's still easier in some scenarios, but I do most of my design
know in Blend. To be hones it came a long way through, if you tried
previous versions of it, it's worth looking again. I remember previous
versions were really unstable and generated ugly Xaml. A lot of this
issues are addressed with the new XamlParser and XamlWriter, so Blend
behaves closer to the runtime experience, generates better xaml and
doesn't crash (as much).
Also, as with WPF/Silverlight/Hand coding Xaml, it also has a steep
learning curve, although not as hard. It requires some time, but once
you get over that, it's definately (IMO) the main way to design a UI.
I think everyone, specially the new ones to Xaml, should spend some good
time with Blend. If you're already a Xaml guru, just force yourself to
use it for 5 days and you will find a whole new world of D&D
opportunities :)
Don't use Split view, don't look at the Xaml until you check in and
you'll be surprised, it's actually good.
If you want to take a more formal approach to it. toolbox
<http://www.microsoft.com/design/toolbox/> and the Expression tutorials
<http://visitmix.com/Labs/rosetta/eyesofblend/> are great resources.
On Sun, Oct 24, 2010 at 9:03 PM, Winston Pang <[email protected]>
wrote:
Hand coded?
I personally don't use either designer as well, they do emit some clunky
crap, and it's not easy for these designers to do a good job at emitting
clean XAML anyways.
Again, the main reason is because we're not dealing with precise pixel
placement, rather a scalable approach and resolution independent. So all
the designers have been doing is adding margin's (for Grid's and some
other layout panels) and Top and Left offsets (For canvas) when people
are dragging around buttons to make their typical LOB forms, which gets
pretty ugly, and doesn't resize well.
I use the designer tools only to generate interesting paths which I may
use, and sometimes for tinkering with my gradients.
On Sun, Oct 24, 2010 at 2:51 PM, Greg Keogh <[email protected]> wrote:
>And personally I don't use Blend or VS designer for UI.
What do you use?
Greg
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
--
Miguel A. Madero Reyes
www.miguelmadero.com (blog)
[email protected]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
________________________________________________________________________
_______
This email has been scanned by the Bankwest Email Security System.
________________________________________________________________________
_______
_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.
This electronic transmission including any attachments is intended only
for those to whom it is addressed. It may contain copyright material or
information that is confidential, privileged or exempt from disclosure by law.
Any claim to privilege is not waived or lost by reason of mistaken transmission
of this information. If you are not the intended recipient you must not
distribute or copy this transmission and should please notify the sender.
Your costs for doing this will be reimbursed by the sender.
We do not accept liability in connection with computer virus, data corruption,
delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________________________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf