Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
XamlDateTimeEditor: ValueConstraint to set minimum value on Date
posted
I want to set the default minimum Calendar date that shows in the XamDateTimeEdit and also constrain the low range Value. So I am usng ValueContraint.MinInclusive. It works fine if I set the MinInclusive to be a date of today's date or greater. However, setting MinInclusive to a Date in the past does not work. The constraintds seem to default to today's date. Here is the XAML (in actual use I am binding to a VM property but for exmaples sake, I use a literal string (date).