Xaml.PropertyInfo

Xaml.PropertyInfo

Old forum URL: forums.lhotka.net/forums/t/11133.aspx


st3fanus posted on Monday, February 06, 2012

Hi all,

 

Are there any more examples about Xaml.PropertyInfo Non visual Control

I have read on ebook about this control, But I have no idea how to get started with this control

I use WPF , CSLA4.2, and MVVM pattern ( MVVMLight Toolkit ), So I want to tried a rich display for errors use this control

 

Thanks a lot

 

stefanus

RockfordLhotka replied on Monday, February 06, 2012

Although it is relatively complex, most of the WPF/SL samples now use a style (defined in App.xaml) for the TextBox control that relies on the PropertyInfo control to do its work. The style gets its information from PropertyInfo and uses that information to control the appearance of the TextBox control.

The WpUI project in ProjectTracker uses it as well, because the whole point of creating PropertyInfo was to support Windows Phone. It just happens to be really useful for WPF/SL projects too.

Copyright (c) Marimer LLC