Skip to content

Nullable TimePicker (make Time nullable)#27930

Merged
rmarinho merged 5 commits intonet10.0from
net10-nullable-timepicker
Apr 21, 2025
Merged

Nullable TimePicker (make Time nullable)#27930
rmarinho merged 5 commits intonet10.0from
net10-nullable-timepicker

Conversation

@jfversluis
Copy link
Member

@jfversluis jfversluis commented Feb 20, 2025

Description of Change

The long awaited feature of making the Time property of the TimePicker class nullable has been implemented!

Changes

  • TimeSpan TimePicker.Time -> TimeSpan? TimePicker.Time
  • Minor code styling and API docs changes

In #1100 it is proposed to also make the type TIme, while I like that, unfortunately that type is not available in netstandard so that would cause a lot of duplication of code and not great APIs and might even just be impossible because of that to make the XAML parsing and design time tooling work.

Instead, I think we should take #21989 in addition to this to still allow people to use TimeOnly (and DateOnly).

Issues Fixed

Contributes to #1100 (DatePicker PR in #27921)

jsuarezruiz

This comment was marked as outdated.

@dotnet dotnet deleted a comment from azure-pipelines bot Feb 21, 2025
@jfversluis

This comment was marked as off-topic.

@github-actions github-actions bot force-pushed the net10-nullable-timepicker branch from 307914e to bc1ccc4 Compare February 22, 2025 15:11
@jfversluis jfversluis force-pushed the net10-nullable-timepicker branch from bc1ccc4 to 7d0fa62 Compare February 22, 2025 19:11
@jfversluis

This comment was marked as off-topic.

@github-actions github-actions bot force-pushed the net10-nullable-timepicker branch from 7d0fa62 to b1c8c70 Compare February 24, 2025 18:07
@jfversluis jfversluis added this to the .NET 10.0-preview3 milestone Feb 26, 2025
@jfversluis

This comment was marked as outdated.

@jfversluis jfversluis force-pushed the net10-nullable-timepicker branch from b1c8c70 to bf0241d Compare March 19, 2025 16:15
@jsuarezruiz
Copy link
Contributor

Rebased to fix conflicts.

@jfversluis jfversluis force-pushed the net10-nullable-timepicker branch from 31d6a7e to beede32 Compare April 10, 2025 09:17
@jfversluis jfversluis force-pushed the net10-nullable-timepicker branch from beede32 to c2d0ba2 Compare April 10, 2025 09:19
@jfversluis jfversluis moved this from Todo to Ready To Review in MAUI SDK Ongoing Apr 11, 2025
@jfversluis jfversluis marked this pull request as ready for review April 11, 2025 11:42
@jfversluis jfversluis requested a review from a team as a code owner April 11, 2025 11:42
@rmarinho rmarinho merged commit 6738ae9 into net10.0 Apr 21, 2025
128 checks passed
@rmarinho rmarinho deleted the net10-nullable-timepicker branch April 21, 2025 09:35
@github-project-automation github-project-automation bot moved this from Ready To Review to Done in MAUI SDK Ongoing Apr 21, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants