Open shelbypo opened 1 year ago
这里是郭瑞的邮箱,已收到您的来件,我会尽快拜阅并给予您回复
Hello, you can always create your own DateTimePicker and retrieve the PART_TextBox control from OnApplyTemplate(): ` public class MyDateTimePicker : DateTimePicker { public override void OnApplyTemplate() { base.OnApplyTemplate();
var textBox = this.GetTemplateChild( "PART_TextBox" ) as TextBox;
} }`
Hello, I trying to access the PART_TextBox, So when I click the tab button on the date to go next date part gets null.