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:
- @sandeepchads i needed this last week!
- @hrist0ph sorry very busy with work at the moment; but working on a rewrite based on the new sdk but not going as fast as i want
- @surface thanks but says i am up to date and want all the goodness of 19H1 on my Surface Go
- how often i have to press check for updates to force the may update on my surface go 🐱👓? #windowsinsiders
- @JenMsft Already available to surface go?
- RT @windowsblog: Announcing UI Tests in CI/CD for Desktop App Developers https://t.co/3DK2wzAGlX
- RT @mrlacey: I get excited about the simplest (obscure?) things sometimes. Yay, XmlnsDefinitionAttribute is coming to .NET Core 3.0, which…
- Why does @slack starts faster on my lightweight mobile device then on my heavy powered Core i7 Laptop?
- RT @alexmullans: Azure Artifacts is now priced per GB stored 🥳. No more buying and assigning licenses. Start at https://t.co/JAn6daobLV. F…
- @LocalJoost i am the creator :) #sorry