C#
Wednesday, 27 June 2012
Remove the time part from a Grid’s DateTime cell in WPF ( XAML)
Can use formatting string for the binding as follows:
<
telerik
:
GridViewDataColumn
IsVisible
="True"
UniqueName
="RegistrationDate"
Header
="Registration Date"
Width
="*"
DataMemberBinding
="{
Binding
RegistrationDate
,
StringFormat
={}{
0
:
d
}}"/>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment