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:
- @JenMsft like the concept. but too much details to go now. disabled it
- RT @dotMorten: I am an Edge user, but forcing users of Windows Mail to use Edge might be the most evil thing Microsoft have done in a long…
- @donasarkar impressive!
- RT @PyImageSearch: I am excited to announce that @Microsoft + @MSFTResearch are sponsoring PyImageConf 2018 and providing FREE pre-configur…
- @tfsbuck thanks :)
- @tfsbuck never mind.. figured it out, well the creator of the PR was able to restart the merge and in second attempt it worked
- @terrajobst @fonssonnemans @hermitdave @imjoshfree dark is for depressed people. agree with @fonssonnemans light team ftw
- @tfsbuck how long should it take to complete a pull request? can that take over 15 minutes? normally pretty fast (i mean instant)
- RT @windowsblog: Windows 10 SDK Preview Build 17115 now available https://t.co/jXvUueM3HH
- RT @csharpfritz: Visual Studio 2017 Version 15.7 Preview 1 https://t.co/iKVhWKOV9L