ShamsiDatePicker 3.0.20-readme
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
<PackageReference Include="ShamsiDatePicker" Version="3.0.20-readme" />
paket add ShamsiDatePicker --version 3.0.20-readme
#r "nuget: ShamsiDatePicker, 3.0.20-readme"
// 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">
تقویم فارسی برای زامارین فرمز
این کنترل سفارشی برای برنامه نویسان زامارین فرمز تدارک دیده شده است و تاریخ هجری شمسی را شبیه کنترل 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 | Versions 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. |
-
.NETStandard 2.0
- CarouselView.FormsPlugin (>= 6.0.0)
- HMControls (>= 1.0.7)
- HMExtension.Xamarin (>= 2.1.7)
- VG.XFShapeView (>= 1.0.5)
- Xamarin.Essentials (>= 1.7.3)
-
MonoAndroid 10.0
- CarouselView.FormsPlugin (>= 6.0.0)
- HMControls (>= 1.0.7)
- HMExtension.Xamarin (>= 2.1.7)
- VG.XFShapeView (>= 1.0.5)
- Xamarin.Essentials (>= 1.7.3)
-
Xamarin.iOS 1.0
- CarouselView.FormsPlugin (>= 6.0.0)
- HMControls (>= 1.0.7)
- HMExtension.Xamarin (>= 2.1.7)
- VG.XFShapeView (>= 1.0.5)
- Xamarin.Essentials (>= 1.7.3)
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 |
---|---|---|
4.0.98 | 155 | 7/27/2024 |
4.0.95 | 116 | 7/13/2024 |
3.0.20 | 907 | 8/27/2022 |
3.0.20-readme | 142 | 9/5/2022 |
3.0.0 | 454 | 7/25/2022 |
2.1.353 | 521 | 6/11/2022 |
2.1.350 | 458 | 12/28/2021 |
2.1.239 | 501 | 10/5/2021 |
2.1.139 | 377 | 7/31/2021 |
2.1.107 | 473 | 7/18/2021 |
2.0.19 | 463 | 3/25/2021 |
1.6.182 | 406 | 1/23/2021 |
1.6.181 | 369 | 1/18/2021 |
1.6.152 | 422 | 1/2/2021 |
1.6.134 | 396 | 12/21/2020 |
1.6.79 | 423 | 12/3/2020 |
1.6.78 | 621 | 12/3/2020 |
Fixed some bugs.