This is a migrated thread and some comments may be shown as answers.

Binding to DateTime

1 Answer 61 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Jax
Top achievements
Rank 2
Jax asked on 28 May 2010, 10:40 AM
Is there an example of RadTimePicker binding to DateTime instead of TimeSpan?

I guess it would require a DateTimeToTimeSpanConverter : IValueConverter ?

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 28 May 2010, 01:03 PM
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,
Kaloyan
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.
Tags
TimePicker
Asked by
Jax
Top achievements
Rank 2
Answers by
Kaloyan
Telerik team
Share this question
or