This question is locked. New answers and comments are not allowed.
I have the following code but getting an error. My grid doesn't render at all.
I need to format the date in this column to not show the time.
I need to format the date in this column to not show the time.
xmlns
:System="clr-namespace:System;assembly=mscorlib"
....
<tlk:GridViewDataColumn DataMemberBinding="{Binding TradeDate}" DataType="System:DateTime"
Width="70" DataFormatString="{}{0:M/dd/yyyy}"
UniqueName="TradeDate" >
<tlk:GridViewDataColumn.Header>
<TextBlock Text="Trade Date" TextWrapping="Wrap" />
</tlk:GridViewDataColumn.Header>
</tlk:GridViewDataColumn>