Category / Section
How to localize the Today and None button text information in DateTimePickerAdv?
1 min read
Today Button and None Button text can be localized by TodayButtonText, NoneButtonText property in WinForms DateTimePickerAdv control.
Please make use of the below code snippet.
C#
//To localize the TodayButton Text this.dateTimePickerAdv1.Calendar.TodayButton.Text = "Hoy"; //To localize the NoneButton Text this.dateTimePickerAdv1.Calendar.NoneButton.Text = "Ninguna";
VB
'To localize the TodayButton Text Me.dateTimePickerAdv1.Calendar.TodayButton.Text = "Hoy" 'To localize the NoneButton Text Me.dateTimePickerAdv1.Calendar.NoneButton.Text = "Ninguna"
Screenshot
Sample: