开发者

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜