DateTime XAML WinRT
问题 Passing a string to the DependencyProperty of a control that takes a DateTime does not seem to be allowed: Cannot assign text value '00:00:00' into property 'StartTime' of type 'DateTime' Is it just me or shouldn't this be possible? The workaround I suppose is to provide a IValueConverter to convert strings to DateTime objects. For Scheduler/Calender like controls this is a little annoying. Shed some light? 回答1: TypeConverter isn't available in WinRT and while the platform seems to have some