c# - Configuring the Date Popup on the WPF DatePicker Control -
i have date picker control use data collection application. using mvvm data binding. when going through list of dates (see fig1) populate date picker correctly. whenever hit new, date pickers nulled out. when pull popup, selects month , year previous date set to. (fig 2) there anyway default pop show current month in current year?
note : keep selected date null on new entry force validation.
fig 1

fig 2
the following image show happens when set displaydatestart.
(original answer horribly wrong, sorry that)
okay, lets try again.
have tried setting fallback today's date?
selecteddate="{binding tehdate, fallbackvalue={x:static sys:datetime.now}}"
Comments
Post a Comment