I have a radCarousel bound to an ObservableCollection. On the carousel item I have label with:
When I set the ItemSource to the ObservableCollection the Date is formatted correctly. However when I add an Item to the collection manually the date on the new Item is not formatted. It displays the full datetime string instead of just the date. How can I fix this?
<
Label
FontSize
=
"18"
Padding
=
"0"
Content
=
"{Binding Effective_Date, StringFormat=d}"
/>
When I set the ItemSource to the ObservableCollection the Date is formatted correctly. However when I add an Item to the collection manually the date on the new Item is not formatted. It displays the full datetime string instead of just the date. How can I fix this?