Can someone please exaplain the difference between this controls ?
I'm developing with WPF, should I be using one instead of the other ?
In Rocky's blog posting
http://www.lhotka.net/weblog/CSLA4Version41Beta2Available.aspx
he states to look at Samples\NET\cs\SimpleNTier solution’s WP7 UI project for an example of how this works. This example contains both controls does this mean that both are required for each element in a UI ?
It is easy.
PropertyInfo is a non-visual control that makes the metastate properties about a business object property available for data binding.
PropertyStatus is a visual control that uses the metastate properties about a business object property to display info/warn/error rule information to the user. It also exposes the metastate properties like ProprtyInfo, so you can use them for other binding purposes.
If you want a quick-and-dirty solution to display broken rules, and you like the way PropertyStatus looks (or choose to style it yourself) then it is the easy answer.
If you want complete and total control over the visual results, you'll want PropertyInfo.
Rocky
Do you know of an example that shows the usage of the PropertyInfo control ?
Copyright (c) Marimer LLC