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.
You don't have your text boxes wired up to your dependency property. The value is never set. You need some type of converter that will convert the values in your text boxes to an actual date too. I think you are better off going with the DatePicker
Control in the toolkit (3.5) or the framework (4.0).