WPF - ListBox show longdate instead of shortdate by objects inside?
I am adding date objects in a ListBox. However, the shortdate are shown but i want to show the longda开发者_如何学Pythonte is there a simple way ?
Thanks.
Set the ItemStringFormat
property to "D" (long date pattern)
精彩评论