Binding to DateTime

2 posts, 0 answers
  1. Jax
    Jax avatar
    30 posts
    Member since:
    Sep 2009

    Posted 28 May 2010 Link to this post

    Is there an example of RadTimePicker binding to DateTime instead of TimeSpan?

    I guess it would require a DateTimeToTimeSpanConverter : IValueConverter ?
  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 28 May 2010 Link to this post

    Hello Jax,

    Your assumptions are correct. The SelectedTime property is of TimeSpan type. So in order to use it as a bindable source or target you have to implement a IValueConverter that will convert it to the desired type.

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top