DateRangeControls 1.0.0

dotnet add package DateRangeControls --version 1.0.0                
NuGet\Install-Package DateRangeControls -Version 1.0.0                
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="DateRangeControls" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DateRangeControls --version 1.0.0                
#r "nuget: DateRangeControls, 1.0.0"                
#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 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 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. 
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
1.0.0 248 12/5/2022