Skip to content

Commit 9cf1630

Browse files
Add comment about DateTimeOffset binding from #2493 comment
#2493 (comment)
1 parent e89cac6 commit 9cf1630

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Microsoft.Toolkit.Uwp.SampleApp/Data/DataGridDataItem.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public string Parent_mountain
149149

150150
public uint Prominence { get; set; }
151151

152+
// You need to use DateTimeOffset to get proper binding to the CalendarDatePicker control, DateTime won't work.
152153
public DateTimeOffset First_ascent { get; set; }
153154

154155
public string Ascents { get; set; }

0 commit comments

Comments
 (0)