Tuesday, December 23, 2014

WPF ListView StringFormat

In XAML follow string formating like this way:


1
<GridViewColumn DisplayMemberBinding="{Binding PurchaseDate, StringFormat='yyyy-MM-dd'}" Header="Date" Width="100"/>

No comments:

Post a Comment