Binding Width and Height via Convention

Topics: Conventions
Oct 25, 2011 at 9:36 AM

Hi,

I want to use a convention to bind the Width and Height of some views to corresponding Width and Height properties of my ViewModels but I can't figure out how to get there. It would be easy to use "Width={Binding Width}" but I want to understand how to use and extend the conventions of CM.

I read the blog post about conventions but I can't find the place where it says "if you want to bind something that is not a named element do this".

Any hints?