DateRangeControls 1.0.0
dotnet add package DateRangeControls --version 1.0.0
NuGet\Install-Package DateRangeControls -Version 1.0.0
<PackageReference Include="DateRangeControls" Version="1.0.0" />
paket add DateRangeControls --version 1.0.0
#r "nuget: DateRangeControls, 1.0.0"
// Install DateRangeControls as a Cake Addin #addin nuget:?package=DateRangeControls&version=1.0.0 // Install DateRangeControls as a Cake Tool #tool nuget:?package=DateRangeControls&version=1.0.0
You might install Nuget package:
install-package DateRangeControls
Add this code to show DateRangePickerDialog:
var dlg = new DateRangePickerDialog(); dlg.Show();
After Dialogs work is done, You can use users selected dates this way, for example:
var dateFrom = dlg.DateFrom; var dateTo = dlg.DateTo;
To use MaterialDesign themes please add this lines in Your App.xaml:
... xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="Green" SecondaryColor="LightGreen"/> <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
To try using dialog You may download sampleApp at: https://daralex.visualstudio.com/LogAn/_git/DateRangeSelector
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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- MaterialDesignThemes (>= 4.6.1)
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 |
---|---|---|
1.0.0 | 228 | 12/5/2022 |