views:

247

answers:

1

There is a plenty coding guidelines/standards available for c# language. However I couldn't find anything "official" regarding XAML. I'm particularly interested in naming conventions of the visual elements, but something about formatting would be also useful. At the moment my XAML files look like a big soup of tags, not really human readable.

+2  A: 

I found this link on WPF and XAML conventions for you. It is not the most complete, but gives you some ideas. With regard to visual elements, I actually stuck with the naming convention I use for asp.net and windows forms. If it is a new element in WPF, I usually just think of what the best prefix would be, for example MediaElement could be me.

Xaisoft
+1 for finding the WPF Disciples link. I follow a couple of their blogs and they really seem to be on the forefront of WPF development.
Dillie-O