Changing the string format of the WPF DatePicker

前端 未结 9 1800
广开言路
广开言路 2020-11-27 14:56

I need to change the string format of the DatePickerTextBox in the WPF Toolkit DatePicker, to use hyphens instead of slashes for the seperators.

Is there a way to ov

9条回答
  •  不知归路
    2020-11-27 15:34

    The accepted answer (thanks @petrycol) put me on the right track, but I was getting another textbox border and background color within the actual date picker. Fixed it using the following code.

            
    
            
    

提交回复
热议问题