HandyOrg / HandyOrg/HandyControl

[Feature request] Add `SelectedTimeSpan` `DependencyProperty` and associated events to `TimePicker`

Open
#1,290 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.