I am currently working on a Silverlight project using CSLA 3.8. We would like to make a <Border> XAML element change according to the severity of a property's broken rules, much like how <csla:PropertyStatus> produces a different icon depending upon the severity of the broken rule. For example, a red border would indicate a save is not possible, whereas a yellow border would indicate Warning-level rules have been broken, but the record is still savable.
From the posts I have read, it appears the best way to produce this effect is by way of the PropertyInfo control, which is only available in CSLA 4.1 and above. Can this effect be produced without PropertyInfo, using CSLA 3.8?
The simplest solution might be to back-port PropertyInfo to 3.8.
Alternately you could restyle PropertyStatus to have no visual appearance (I've never tried - but I suspect it should be possible).
Either way, you need a PropertyInfo-like control against which your UI elements can bind.
Copyright (c) Marimer LLC