RadTimePicker and Binding to Step

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    6 posts
    Member since:
    May 2011

    Posted 19 Feb 2015 Link to this post

    Greetings,

    I have been attempting to set the Step property for TimePicker in Windows Universal (Windows 8 XAML) and have been unsuccessful in setting it ONLY during the Loaded event.

    Setting it in XAML (convert to local) does not convert the string and throws an error.
    Setting it in XAML to a binding does not pick up the value via a Binding.

    Specifically, I have a Hub Control and using the first HubPanel to a search configuration and the results in the second panel. The DataTemplate of the HubPanel insulates the TimePicker controls from being accessed directly without using the Loaded event (cannot access by name), so that was the only option. However, setting the Step property seems to ONLY work from code-behind.

    I am still investigating if TimePicker is having difficulty being bound to ObservableDictionary keys. I had to create a ViewModel implementing INotifyPropertyChanged and put THAT in a key called "SearchCriteria" for most of the properties to be properly assigned and updated.

    Am I doing something wrong, or is this something that needs to be fixed to work as intended?

    Thomas Mullen
  2. Thomas
    Thomas avatar
    6 posts
    Member since:
    May 2011

    Posted 19 Feb 2015 Link to this post

    Nevermind. There was a left over binding that was set to Groups from the original template that I forgot to remove, so it was looking for it in the wrong key.

    Thomas Mullen
Back to Top