Does the XamDateTimeInput have a TodayButtonCaption / Value attribute that can be changed?
We want to use the XamDateTimeInput and default the "Today" button to read "Prev Month" which has a configurable value.
Hello ,
The built-in functionality is for "Today." If you want to change the date that it goes to, then you will have to change the Command placed on the "Today" button in the default XamCalendar style.
-Divya
Thank you. This helps with the label, but how can we update the value? The default is today, but we would like this to be dynamic and point previous month end
Thank you for posting .In order to modify TodayButtonCaption you would have to re-template the default style of the XamCalendar, since XamCalendar element is been used in the XamDateTimeInput .
You can find the default styles used for the XamCalendar in
C:\Program Files (x86)\Infragistics\2019.1\WPF\DefaultStyles\XamCalendar\generic.shared.xam
I attached a small demo sample for your reference. Let me know if you have any question.
3583.WpfApplication1.zip