Skip to content

Commit

Permalink
Add comment about DateTimeOffset binding from #2493 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker authored Sep 3, 2021
1 parent e89cac6 commit 9cf1630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Microsoft.Toolkit.Uwp.SampleApp/Data/DataGridDataItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public string Parent_mountain

public uint Prominence { get; set; }

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

public string Ascents { get; set; }
Expand Down

0 comments on commit 9cf1630

Please sign in to comment.