OK, I found it out by myself: the TimePicker was named "Part_TimeUpDown", but it has to be named "PART_TimeUpDown". My proposal: As it could always happens that anyone is re-templating this control, the code inside the control always has to check agains null when retrieving template parts.
↧