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
235
InValid Value focus issue
posted

In XamDateTimeInput, I am having the following validation,

<ig:XamDateTimeInput.ValueConstraint>
<ig:ValueConstraint MaxInclusive="{Binding Source={x:Static System:DateTime.Now}}" Nullable="False" />
</ig:XamDateTimeInput.ValueConstraint>

On Clearing the value in the control - making date as null and tabing out. A validation message box is displayed - "Value cannot be null" . But the focus is going to the next control. 

If the value in the DateTimeINput control is invalid, Can't we make the focus not to move out of the control, until the user enters a valid value?