Smile.JalaliDatePicker 2.0.0

JalaliDatePicker is a complete Jalali and Gregorian date picker, with many UI facilities for best user experience in date entry. It's designated for WPF.

Install-Package Smile.JalaliDatePicker -Version 2.0.0
dotnet add package Smile.JalaliDatePicker --version 2.0.0
<PackageReference Include="Smile.JalaliDatePicker" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smile.JalaliDatePicker --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Usage:

In XAML:

<Window
...
xmlns:JalaliControl="clr-namespace:JalaliDatePicker;assembly=Smile.JalaliDatePicker">
<StackPanel>
<JalaliControl:JalaliDatePickerControl Width="200" CalendarType="Jalali"
DayNameVisibility="Visible" TimeVisibility="Collapsed" PickerVisibility="Visible"
FocusOn="Day" OnDateChanged="JalaliDatePickerControl_OnDateChanged" />
</StackPanel>
</Window>

In CodeBehind (Optional, if you subscribe on OnDateChanged event):

    void JalaliDatePickerControl_OnDateChanged(JalaliDatePicker.JalaliDatePickerControl sender)
    {
        MessageBox.Show(sender.JalaliDate.ToString());
    }

Usage:

In XAML:

<Window
...
xmlns:JalaliControl="clr-namespace:JalaliDatePicker;assembly=Smile.JalaliDatePicker">
<StackPanel>
<JalaliControl:JalaliDatePickerControl Width="200" CalendarType="Jalali"
DayNameVisibility="Visible" TimeVisibility="Collapsed" PickerVisibility="Visible"
FocusOn="Day" OnDateChanged="JalaliDatePickerControl_OnDateChanged" />
</StackPanel>
</Window>

In CodeBehind (Optional, if you subscribe on OnDateChanged event):

    void JalaliDatePickerControl_OnDateChanged(JalaliDatePicker.JalaliDatePickerControl sender)
    {
        MessageBox.Show(sender.JalaliDate.ToString());
    }

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 605 10/13/2017