Is there an way to make the XamDateTimeEditor only editable as a dropdown? I want to force the user to use the Calendar Popup. Is there a easy way to accomplish this?
Note that you could still select the text with the mouse caret, delete it with the right-mouse-click context menu, and paste a new value in. However, the above response is a good start.
Hello,
You could handle the PreviewKeyDown event and set the e.Handled=true:
private void XamDateTimeEditor_PreviewKeyDown(object sender, KeyEventArgs e)
{
e.Handled = true;
}