UmbTimeOnly 13.7.6
See the version list below for details.
dotnet add package UmbTimeOnly --version 13.7.6
NuGet\Install-Package UmbTimeOnly -Version 13.7.6
<PackageReference Include="UmbTimeOnly" Version="13.7.6" />
<PackageVersion Include="UmbTimeOnly" Version="13.7.6" />
<PackageReference Include="UmbTimeOnly" />
paket add UmbTimeOnly --version 13.7.6
#r "nuget: UmbTimeOnly, 13.7.6"
#addin nuget:?package=UmbTimeOnly&version=13.7.6
#tool nuget:?package=UmbTimeOnly&version=13.7.6
UmbTimeOnly
A property editor for . It's basically TimeOnly from C# https://learn.microsoft.com/en-us/dotnet/api/system.timeonly?view=net-8.0
UmbTimeOnly custom property editor.
A simple dropdown property editor for content editors for picking the time only.
It is based on .NET's TimeOnly.
Features
- Dropdown UI for selecting time.
- Easy integration into your .NET application (Code example further down)
Usage
Though simple, this is how the inital state of the property editor:
Clicking the clock icon provides a dropdown that let's you select the time.
If you want to use the current time, you can click the button with that name to get it right away.
This shows the property editor before clicking Current Time:
This shows the property editor after clicking Current Time:
Code example
An example of how to use this property editor in code.
Here we check if the time is before or after the time that is picked in the editor:
Having picked 12:11:31 this is the output:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Umbraco.Cms.Web.BackOffice (>= 13.7.2)
- Umbraco.Cms.Web.Website (>= 13.7.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.