NPicker 3.0.3

dotnet add package NPicker --version 3.0.3
                    
NuGet\Install-Package NPicker -Version 3.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NPicker" Version="3.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NPicker" Version="3.0.3" />
                    
Directory.Packages.props
<PackageReference Include="NPicker" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NPicker --version 3.0.3
                    
#r "nuget: NPicker, 3.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NPicker@3.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NPicker&version=3.0.3
                    
Install as a Cake Addin
#tool nuget:?package=NPicker&version=3.0.3
                    
Install as a Cake Tool

NPicker

This is a collection of native picker controls for .NET MAUI that allows nullable values.

  • It supports Windows, Android, iOS and MacOS
  • Based on the original source code of .NET MAUI 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

  1. Install it from NuGet Version

  2. Add the following namespace to your MauiProgram.cs:
    using NPicker;

  3. 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 Value="{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">

Release Notes

Version 3.0 intruduced a breaking change: The bindable property Date was renamed to Value to better align with other set of controls on the ecosystem. Version 2.0 intruduced a breaking change: The Date's bindable property is now of type DateOnly? rather then DateTime? so please, make sure to change your VM's property to DateOnly?.

This library was created based on the original source code of .NET MAUI.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 is compatible.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows10.0.19041 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 155 7/9/2025
3.0.2 138 7/8/2025
3.0.1 133 7/8/2025
3.0.0 5,681 11/18/2024
2.0.5 732 10/13/2024
2.0.4 127 10/13/2024
2.0.2 116 10/13/2024
1.0.1 170 10/12/2024
0.1.18 111 10/12/2024
0.1.17 108 10/12/2024
0.1.16 106 10/12/2024
0.1.15 124 10/12/2024
0.1.7 118 10/12/2024
0.1.5 121 10/12/2024