PropertyStatus & PropertyInfo

PropertyStatus & PropertyInfo

Old forum URL:

Hamchuck posted on Saturday, February 26, 2011

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

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 ?



RockfordLhotka replied on Sunday, February 27, 2011

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.

Hamchuck replied on Sunday, March 06, 2011


Do you know of an example that shows the usage of the PropertyInfo control ?

RockfordLhotka replied on Sunday, March 06, 2011

It is used in the WP7 project in the net\cs\simplentier solution. The reason I created the control in the first place is that PropertyStatus doesn't fit into the WP7 world and I needed a good solution there.

Copyright (c) Marimer LLC