ShamsiDatePicker 3.0.20-readme

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

// Install ShamsiDatePicker as a Cake Tool
#tool nuget:?package=ShamsiDatePicker&version=3.0.20-readme&prerelease

<img src="ShamsiDatePicker\Resources\Images\ShamsiDatePickerIcon.png?raw=true" width="128">

NuGet NuGet

تقویم فارسی برای زامارین فرمز

این کنترل سفارشی برای برنامه نویسان زامارین فرمز تدارک دیده شده است و تاریخ هجری شمسی را شبیه کنترل DatePicker ماکروسافت، نمایش می دهد. <br/> این کنترل با پلتفرم های اندروید و آی او اس سازگار است. <br/> این کنترل از پترن MVVM پشتیبانی می کند.

<br/> <p float="right"> <img alt="ShamsiDatePicker calendar page" src="ShamsiDatePicker\Resources\Images\sdp1.jpg?raw=true" width="200" /> <img alt="ShamsiDatePicker year page" src="ShamsiDatePicker\Resources\Images\sdp2.jpg?raw=true" width="200" /> </p>

روش نصب

  • کنترل تقویم فارسی برای زامارین در سایت ناگت قابل دسترسی است : https://www.nuget.org/packages/ShamsiDatePicker
  • نصب از طریق ویژوال استودیو
    • Tools → NuGet Pckage Manager → Package Manager Console → Install-Package ShamsiDatePicker -Version 3.0.20

روش استفاده

  • پس از نصب پکیج، کد زیر را در سرفایل صفحه پیج مورد نظر استفاده کنید:
xmlns:sdp="clr-namespace:ShamsiDatePicker;assembly=ShamsiDatePicker" 
  • سپس در محتوای صفحه به شکل زیر کنترل را اضافه کنید:
<sdp:ShamsiDatePicker Date="{Binding TargetDate, Mode=TwoWay}"
                      RenderMode="Default"/> 
  • می توانید خصوصیات تقویم را به شکل زیر مقدار دهی کنید:
<ContentPage.Resources>
    <Style TargetType="sdp:ShamsiDatePicker">

        
        <Setter Property="MinimumShamsiYear" Value="1320"/>

        
        <Setter Property="MaximumShamsiYear" Value="1420"/>
            
        
        <Setter Property="HeaderBackgroundColor" Value="SteelBlue"/>
            
        
        <Setter Property="HeaderTitleTextColor" Value="Gold"/>
            
        
        <Setter Property="HeaderSubTitleTextColor" Value="LightYellow"/>
            
        
        <Setter Property="CalendarBackgroundColor" Value="WhiteSmoke"/>
            
        
        <Setter Property="CalendarTitleColor" Value="DarkGoldenrod"/>
            
        
        <Setter Property="CalendarSubTitleColor" Value="DarkBlue"/>
            
        
        <Setter Property="CalendarTextColor" Value="BlueViolet"/>
            
        
        <Setter Property="CalendarSelectedTextColor" Value="Cyan"/>
            
        
        <Setter Property="CalendarHighlightColor" Value="SteelBlue"/>
            
        
        <Setter Property="CalendarOKButtonTextColor" Value="ForestGreen"/>
            
        
        <Setter Property="CalendarOKButtonBackgroundColor" Value="LightBlue"/>
            
        
        <Setter Property="CalendarCancelButtonTextColor" Value="Red"/>
            
        
        <Setter Property="CalendarCancelButtonBackgroundColor" Value="LightBlue"/>
    </Style>
</ContentPage.Resources>
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid10.0 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.20 827 8/27/2022
3.0.20-readme 120 9/5/2022
3.0.0 423 7/25/2022
2.1.353 481 6/11/2022
2.1.350 425 12/28/2021
2.1.239 473 10/5/2021
2.1.139 349 7/31/2021
2.1.107 446 7/18/2021
2.0.19 412 3/25/2021
1.6.182 376 1/23/2021
1.6.181 345 1/18/2021
1.6.152 395 1/2/2021
1.6.134 373 12/21/2020
1.6.79 397 12/3/2020
1.6.78 602 12/3/2020

Fixed some bugs.