Textbox固定位数以及输入格式 wpf yyyy/mm/dd 每输入一位水印消失一位 "/ "不消失 有没有实现思路
Hi NFT_X,
WPF中并没有 类似的控件可以满足你的需求,
建议1:
尝试在你的WPF项目中写一个可以实现这样功能的控件。
建议2:
既然你是想输入固定的日期格式,我建议用DatePicker和DatePickerTextBox来实现,这样就不需要自定义控件。
Best regards
Yong Lu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.