Codecell.PersiandatePicker.MAUI 1.0.1

Additional Details

contain some bugs that fixed in last version

There is a newer version of this package available.
See the version list below for details.
dotnet add package Codecell.PersiandatePicker.MAUI --version 1.0.1                
NuGet\Install-Package Codecell.PersiandatePicker.MAUI -Version 1.0.1                
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="Codecell.PersiandatePicker.MAUI" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codecell.PersiandatePicker.MAUI --version 1.0.1                
#r "nuget: Codecell.PersiandatePicker.MAUI, 1.0.1"                
#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.
// Install Codecell.PersiandatePicker.MAUI as a Cake Addin
#addin nuget:?package=Codecell.PersiandatePicker.MAUI&version=1.0.1

// Install Codecell.PersiandatePicker.MAUI as a Cake Tool
#tool nuget:?package=Codecell.PersiandatePicker.MAUI&version=1.0.1                

Codecell.MAUI.Controls

Custom Persian Date Picker Control for .NET MAUI (Android)

Installation

You can download the latest version of Codecell.PersiandatePicker.MAUI from Github repository. To install via nuget:

Install-Package Codecell.PersiandatePicker.MAUI -Version 1.0.1

Install from Nuget directly.

How to use

Register Codecell Persian DatePicker Control to project container in MauiProgram.cs file:

using PersianDatePickerMAUI;

namespace Sample
{
    public static class MauiProgram
    {
        public static MauiApp CreateMauiApp()
        {
            var builder = MauiApp.CreateBuilder();
            builder
                .UseMauiApp<App>()
                .UsePersianDatePickerControl()
                .ConfigureFonts(fonts =>
                {
                    fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                    fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
                });

#if DEBUG
		builder.Logging.AddDebug();
#endif

            return builder.Build();
        }
    }
}

use this xmlns:

xmlns:controls="https://codecell.ir/maui/controls/persianDatePicker"
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:controls="https://codecell.ir/maui/controls/persianDatePicker"
             x:Class="Sample.MainPage">

    <ScrollView>
        <VerticalStackLayout
            Spacing="25"
            Padding="30,0"
            VerticalOptions="Center">

            <controls:PersianDatePicker /> 

            <controls:PersianDatePicker PersianDate="1367/01/20" />

            <controls:PersianDatePicker PersianDate="{Binding FromDate}" />

        </VerticalStackLayout>
    </ScrollView>

</ContentPage>

Screenshots

App Screenshot

App Screenshot

App Screenshot

App Screenshot

Tutorial video

see the tutorial persian video here

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  net7.0-ios was computed.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst was computed.  net7.0-maccatalyst16.1 is compatible.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net7.0-windows10.0.19041 is compatible.  net8.0 was computed.  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. 
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
1.2.0 206 9/9/2023
1.1.0 123 9/3/2023
1.0.3 168 8/20/2023
1.0.2 152 8/20/2023 1.0.2 is deprecated.
1.0.1 175 8/20/2023 1.0.1 is deprecated.
1.0.0 173 8/20/2023 1.0.0 is deprecated.