Wpf custom datepicker user control

后端 未结 4 2021
执念已碎
执念已碎 2021-01-27 17:03

I want to create a user control for getting a date from the user. It should have three textboxes, one for year, month and day. I don\'t know how to create it.

         


        
4条回答
  •  半阙折子戏
    2021-01-27 17:16

    For starters stop copying and pasting :0). All your DP registrations are for the ValueProperty. And you will have to handle the property changed callback for each property to update the Value property as well.

提交回复
热议问题