ShamsiDatePicker 3.0.20
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 ShamsiDatePicker --version 3.0.20
NuGet\Install-Package ShamsiDatePicker -Version 3.0.20
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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ShamsiDatePicker --version 3.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ShamsiDatePicker, 3.0.20"
#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 // Install ShamsiDatePicker as a Cake Tool #tool nuget:?package=ShamsiDatePicker&version=3.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
تقویم فارسی برای زامارین فرمز
این کنترل سفارشی برای برنامه نویسان زامارین فرمز تدارک دیده شده است و تاریخ هجری شمسی را شبیه کنترل DatePicker ماکروسافت، نمایش می دهد.
این کنترل با پلتفرم های اندروید و آی او اس سازگار است.
این کنترل از پترن MVVM پشتیبانی می کند.
ساختار کلاس
public class ShamsiDatePicker : KeyboardlessEntry, IDisposable
روش نصب
کنترل تقویم فارسی برای زامارین
در سایت ناگت قابل دسترسی است : 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}" />
خصوصیات
Property name | Type | Default value | Bindable | Description |
---|---|---|---|---|
Date | DateTime | DateTime.Now | ✅ | تاریخ انتخاب شده به هجری شمسی را به میلادی ترجمه و در خود ذخیره می کند. تاریخ را از میلادی به شمسی ترجمه کرده و در تقویم نمایش می دهد. |
MinimumShamsiYear | int | 1300 | ✅ | کمترین سال شمسی قابل انتخاب از تقویم |
MaximumShamsiYear | int | 1500 | ✅ | بیشترین سال شمسی قابل انتخاب از تقویم |
HeaderBackgroundColor | Xamarin.Forms.Color | Color.FromHex("#FF4081") | ✅ | رنگ سربرگ تقویم |
HeaderTitleTextColor | Xamarin.Forms.Color | Color.White | ✅ | رنگ متن عنوان سربرگ تقویم |
HeaderSubTitleTextColor | Xamarin.Forms.Color | Color.White | ✅ | رنگ متن زیر عنوان سربرگ تقویم |
CalendarBackgroundColor | Xamarin.Forms.Color | Color.White | ✅ | رنگ صفحه تقویم |
CalendarTitleColor | Xamarin.Forms.Color | Color.Black | ✅ | رنگ متن عنوان صفحه تقویم |
CalendarSubTitleColor | Xamarin.Forms.Color | Color.Black | ✅ | رنگ متن زیر عنوان صفحه تقویم |
CalendarTextColor | Xamarin.Forms.Color | Color.Black | ✅ | رنگ متن اعداد صفحه تقویم |
CalendarSelectedTextColor | Xamarin.Forms.Color | Color.White | ✅ | رنگ متن روز انتخاب شده صفحه تقویم |
CalendarHighlightColor | Xamarin.Forms.Color | Color.FromHex("#FF4081") | ✅ | رنگ هایلایت روز انتخاب شده صفحه تقویم |
CalendarOKButtonTextColor | Xamarin.Forms.Color | Color.FromHex("#FF4081") | ✅ | رنگ متن کلید انتخاب تقویم |
CalendarOKButtonBackgroundColor | Xamarin.Forms.Color | Color.Transparent | ✅ | رنگ پس زمینه کلید انتخاب تقویم |
CalendarCancelButtonTextColor | Xamarin.Forms.Color | Color.FromHex("#FF4081") | ✅ | رنگ پس زمینه کلید انتخاب تقویم |
CalendarCancelButtonBackgroundColor | Xamarin.Forms.Color | Color.Transparent | ✅ | رنگ پس زمینه کلید انصراف تقویم |
CalendarCancelButtonBackgroundColor | Xamarin.Forms.Color | Color.Transparent | ✅ | رنگ پس زمینه کلید انصراف تقویم |
BorderColor | Xamarin.Forms.Color | Color.Black | ✅ | رنگ حاشیه جعبه متن تاریخ |
BorderThickness | double | 1d | ✅ | اندازه حاشیه جعبه متن تاریخ |
CornerRadius | int | 0 | ✅ | میزان انحنای لبه های جعبه متن تاریخ |
Padding | Xamarin.FormsThickness | 5 | ✅ | میزان فاصله داخلی جعبه متن تاریخ |
RenderMode | RenderModeType | RenderModeType.Standard | با تغییر این خصیصه می توانید بین حالت جعبه متن پیش فرض زامارین و جعبه متن استاندارد سوییچ کنید. چهار خصیصه قبلی فقط در حالت استاندارد فعال هستند. |
تماس با من
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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.
-
.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 | 242 | 7/27/2024 |
4.0.95 | 132 | 7/13/2024 |
3.0.20 | 929 | 8/27/2022 |
3.0.20-readme | 147 | 9/5/2022 |
3.0.0 | 467 | 7/25/2022 |
2.1.353 | 536 | 6/11/2022 |
2.1.350 | 473 | 12/28/2021 |
2.1.239 | 510 | 10/5/2021 |
2.1.139 | 387 | 7/31/2021 |
2.1.107 | 482 | 7/18/2021 |
2.0.19 | 477 | 3/25/2021 |
1.6.182 | 416 | 1/23/2021 |
1.6.181 | 381 | 1/18/2021 |
1.6.152 | 432 | 1/2/2021 |
1.6.134 | 409 | 12/21/2020 |
1.6.79 | 431 | 12/3/2020 |
1.6.78 | 634 | 12/3/2020 |
Fixed some bugs.