I have a custom control with a property of type TimeSpan.

When I enter a value of 24:00:00 in the property pane I get an "Improper
property value" error.

How do I enter this value?
And how do I enter a value greater than 24 hours?

Thanks,

Jos

Re: Entering a timespan value of 24:00 in property pane by Jos

Jos
Sat Nov 27 06:53:22 CST 2004

Jos wrote:
> I have a custom control with a property of type TimeSpan.
>
> When I enter a value of 24:00:00 in the property pane I get an
> "Improper property value" error.
>
> How do I enter this value?
> And how do I enter a value greater than 24 hours?
>
> Thanks,
>
> Jos

OK, I found it, it's a dot between the days and the hours:

1.00:00:00 is 24 hours
1.12:00:00 is 36 hours
3.00:00:00 is 3 days
etc.

--

Jos