This question is locked. New answers and comments are not allowed.
I have a RadDateTimePicker with DateSelectionMode="Month" InputMode="DatePicker" wich allows the user to select a month.
The DateTime value returned however give me the date for the beginning of the month instead of the end of the month, that I would like.
In my ViewModel I try and convert the value passed into an end of the month value by doing:
Inside a PropertyChanged handler, but the value showing does not seem to update.
The DateTime value returned however give me the date for the beginning of the month instead of the end of the month, that I would like.
In my ViewModel I try and convert the value passed into an end of the month value by doing:
private void StartDateChanged()
{
//if start of month was selected, change to end of month
if (StartDate != null && StartDate.Value.Day == 1)
{
StartDate = StartDate.Value.AddMonths(1).AddDays(-1);
}
}Inside a PropertyChanged handler, but the value showing does not seem to update.