For one of my new apps i had the requirement that an user could select a duration of an event. First i looked how it was done by the Calendar app and i noticed that they give few options for duration, or let you select and end date. In that case you dont fill in a duration. For me that wasn't a possible solution.
I tried out the Time Picker to select a duration. Only one cool feature of the time picker maked it worthless for me. When your in england / VS the time picker also shows AM / PM optio, what suggest it is a point in time and not a duration.
I end up with creating a custom control nd the result looks this way:
Cool features about this control:
- you can assign a minimal and maximal duration
- hides time parts which are not nessary to fill in (if maximum duration if below an hour, only shows the minutes)
- Supports the header property like textbox and other input controls has
You can download the source code, including a demo project here:
- jeej skype till 22h today..
- @VSTS @awscloud @chef @Docker @GooglePlay what are the 10 highest rated widgets?
- RT @wpschaub: Over 500 extensions in the VSTS/TFS marketplace https://t.co/pH64ZFRi2J
- @mitrik what is difference between code -> files -> history and code -> commits? looks as same? https://t.co/NnA8lk1pTe
- @LocalJoost 😵
- the moment you need to install ms project....
- RT @coolcsh: And we have updated Visual Studio 2017 w/15.3 to for .NET Core 2, https://t.co/2y7Qj07QrB Core 2, .NET Standard 2: https://t.c…
- @JenMsft do you know what changed in the latest version of the mail app? the whats new web page is not beeing updated for long time..
- new windows sdk! https://t.co/qOlWLICyIB #uwp #uwpdev
- @tfsbuck this way doesnt take in consideration it can be set back to "new" because some blocking issues?