NPicker 1.0.1
See the version list below for details.
dotnet add package NPicker --version 1.0.1
NuGet\Install-Package NPicker -Version 1.0.1
<PackageReference Include="NPicker" Version="1.0.1" />
<PackageVersion Include="NPicker" Version="1.0.1" />
<PackageReference Include="NPicker" />
paket add NPicker --version 1.0.1
#r "nuget: NPicker, 1.0.1"
#:package NPicker@1.0.1
#addin nuget:?package=NPicker&version=1.0.1
#tool nuget:?package=NPicker&version=1.0.1
NPicker
This is a .NET MAUI collection of picker controls that allows nullable values.
- It supports Windows, Android, iOS and MacOS
- Based on the source code of .NET MAUI original source code so it renders directly to native platforms the same way as the built-in controls found on .NET MAUI, but better cause it supports nullable values.
Get Started
Install it from nuget.org NPicker
Add the following namespace to your MauiProgram.cs:
using NPicker;Call
.UseNPicker()on your AppBuilder as described bellow.
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder.UseMauiApp<App>()
.UseNPicker();
return builder.Build();
}
}
Add the followin xmlns to the XAML pages where you wanna use it
xmlns:NPicker="clr-namespace:NPicker;assembly=NPicker"
Then add a reference to NPicker:DatePicker/ to your view and use it just like you've been using before. With the difference that, now you can set null to it's Date property.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="NPicker.Samples.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:NPicker="clr-namespace:NPicker;assembly=NPicker">
<NPicker:DatePicker Date="{Binding MyDate}" Format="dd/MM/yyyy"/>
</ContentPage>
| Android | iOS | Windows |
|---|---|---|
| <img src="Docs/Android.gif" alt="Android demo.gif"> | <video width="300px" src="https://github.com/user-attachments/assets/224ed475-d357-48de-9b54-8ad0a91fc299" alt="iOS demo"> | <video src="https://private-user-images.githubusercontent.com/12549812/375948554-987dd0cd-8eb5-49d4-9936-5d123974cafb.mp4" alt="Windows.gif"> |
This library was created based on the original source code of .NET MAUI.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-android34.0 is compatible. net8.0-ios18.0 is compatible. net8.0-maccatalyst18.0 is compatible. net8.0-windows10.0.19041 is compatible. net9.0-android was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-windows was computed. net10.0-android was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-windows was computed. |
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.82)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.82)
-
net8.0-ios18.0
- Microsoft.Maui.Controls (>= 8.0.82)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.82)
-
net8.0-maccatalyst18.0
- Microsoft.Maui.Controls (>= 8.0.82)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.82)
-
net8.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 8.0.82)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.82)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.3 | 1,520 | 7/9/2025 |
| 3.0.2 | 236 | 7/8/2025 |
| 3.0.1 | 219 | 7/8/2025 |
| 3.0.0 | 6,274 | 11/18/2024 |
| 2.0.5 | 1,939 | 10/13/2024 |
| 2.0.4 | 197 | 10/13/2024 |
| 2.0.2 | 191 | 10/13/2024 |
| 1.0.1 | 289 | 10/12/2024 |
| 0.1.18 | 179 | 10/12/2024 |
| 0.1.17 | 185 | 10/12/2024 |
| 0.1.16 | 186 | 10/12/2024 |
| 0.1.15 | 220 | 10/12/2024 |
| 0.1.7 | 201 | 10/12/2024 |
| 0.1.5 | 200 | 10/12/2024 |