Codecell.PersiandatePicker.MAUI
1.0.0
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.
See the version list below for details.
dotnet add package Codecell.PersiandatePicker.MAUI --version 1.0.0
NuGet\Install-Package Codecell.PersiandatePicker.MAUI -Version 1.0.0
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.0" />
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.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codecell.PersiandatePicker.MAUI, 1.0.0"
#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.0 // Install Codecell.PersiandatePicker.MAUI as a Cake Tool #tool nuget:?package=Codecell.PersiandatePicker.MAUI&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.0
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>
Tutorial video
see the tutorial persian video here
Product | Versions 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.
-
net7.0
- CommunityToolkit.Mvvm (>= 8.2.1)
- Mopups (>= 1.1.1)
-
net7.0-android33.0
- CommunityToolkit.Mvvm (>= 8.2.1)
- Mopups (>= 1.1.1)
-
net7.0-ios16.1
- CommunityToolkit.Mvvm (>= 8.2.1)
- Mopups (>= 1.1.1)
-
net7.0-maccatalyst16.1
- CommunityToolkit.Mvvm (>= 8.2.1)
- Mopups (>= 1.1.1)
-
net7.0-windows10.0.19041
- CommunityToolkit.Mvvm (>= 8.2.1)
- Mopups (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.