You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

DateRangeControls

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

DateRangeControls

Provides a dialog box and a standalone MaterialDesign style control for selecting a range of dates. You can choose from the beginning and end of the month, quarter or year, or choose them arbitrarily.

1.0.0
nugetNuGet
Version published
Maintainers
1
Created
Source

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

Keywords

DateTimePicker

FAQs

Package last updated on 05 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.