Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

I got this error string was not recognized as a valid datetime when I validate WPF DatePicker control

, 10 Nov 2012
You can not bind to private field; you need public property (notifying property or a dependency property) to bind to it. Here is my suggestion and I hope it may help youDeclare new dependency property in the Window class like this:public DateTime BindingDate{ get { return...



Compare Revision Minor Date Status Editor
publicly available No 10-Nov-12 18:50 Available Issam Ali
Updates in content. 226 changes had been made.
1 No 10-Nov-12 18:30 Available Issam Ali


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Issam Ali
Software Developer (Senior)
Syrian Arab Republic Syrian Arab Republic
Software developer from Banias, Syria. I work as senior software developer in local oil company and as freelance programmer in my free time.
Follow on   Twitter

| Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 10 Nov 2012
Article Copyright 2012 by Issam Ali
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid