Articles in this section

How to localize the Today and None button text information in DateTimePickerAdv?

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

 

Showing localize the today and none button text

 

Sample:

 

C#: DateTimePickerAdvExample

 

VB: DateTimePickerAdvExample

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied