C# – Binding the XAML controls DatePicker and TimePicker to a variable of type DateTime

  Since Windows 8.1 is available the DatePicker and TimePicker controls. These controls allow an application to easily choose a date or time. Yet, as the DatePicker.Date property is of type DateTimeOffset and TimePicker.Time property is of type TimeSpan, they can not be binded directly to a variable or property of type DateTime. However, this … Continue reading “C# – Binding the XAML controls DatePicker and TimePicker to a variable of type DateTime”