XAML Coding Guide

There are many coding rules / standards available for C #. However, I could not find anything "official" regarding XAML. I am particularly interested in visual element naming conventions, but something like formatting would also be useful. At the moment, my XAML files look like a big tag soup, not really human readable.

+4
source share
1 answer

I found this blog post ( link to google group return path ) for WPF and XAML for you. This is not the most complete, but gives you some ideas. Regarding visual elements, I actually adhered to the naming convention that I use for asp.net forms and windows. If this is a new element in WPF, I usually just think about what the best prefix will be, for example MediaElement can be me.

+5
source

All Articles