HandyOrg / HandyOrg/HandyControl
[Feature request] Add `SelectedTimeSpan` `DependencyProperty` and associated events to `TimePicker`
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
See #1285 for more details. Raising here to allow separate tracking.
Describe the solution you'd like
Currently, the TimePicker can only be bound to DateTime?. Adding an associated SelectedTimeSpan to sit alongside SelectedTime and making it type TimeSpan? would make it significantly easier to bind the control directly to a TimeSpan?.
Describe alternatives you've considered
A type converter can be used to convert to/from DateTime? and TimeSpan?. However, that requires more coding from the consumer.
There is a case to have a dedicated TimeSpanPicker which also supports 'days'.
Additional context
N/A
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with issue #1285 for background, then locate the TimePicker control and review its existing SelectedTime property and associated events. Done means the control exposes a nullable SelectedTimeSpan alongside SelectedTime, supports binding to TimeSpan?, and provides the requested associated events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100