DateTimePickerCustomNet6 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DateTimePickerCustomNet6 --version 2.0.0
NuGet\Install-Package DateTimePickerCustomNet6 -Version 2.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="DateTimePickerCustomNet6" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DateTimePickerCustomNet6 --version 2.0.0
#r "nuget: DateTimePickerCustomNet6, 2.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 DateTimePickerCustomNet6 as a Cake Addin
#addin nuget:?package=DateTimePickerCustomNet6&version=2.0.0

// Install DateTimePickerCustomNet6 as a Cake Tool
#tool nuget:?package=DateTimePickerCustomNet6&version=2.0.0

DateTimePickerCustom

This projects contains a LibraryClass for a C# WPF application project. The library implements a DateTiemPicker, which besides the date picking has along side a time picking widgets.
Extented documenetations and comments for easy modifications and styling. Appropriate for a dropdown or popup widget for returning a DateTime value to a textbox, or for a stand-alone calander widget.

Table of Contents

Features

  1. LibraryClass for a DatePicker. All the logic is located in teh code behind, which is heavily commneted for easy understanding and modification.
  2. Therefore, the .xaml file is clean and contains only the styles (which will be moved in a different file in the next update) and the grid layout.
  3. A time picker will be added soon.
  4. The project solution has a WPF application connected to the library for testing the LibraryClass.

Image 1:if not available see github repo

In this Update the TimePicker is available In next update the Ok button will send DateTime info to a textblock

Installation

Method 1. NuGet

  1. Download using Nuget Package manager.
  2. In the Solution Manager, under dependancies there should be a DateTimePickerCustom.dll file.
  3. Include that file in your WPF Application by using the following line.

xmlns:[YourNamespace]="clr-namespace:DateTimePickerCustom;assembly=DateTimePickerCustom"

Method 2. GitHub

  1. Clone Github repository and add the LibraryClass to your solution.
  2. This is how the solution tree in the solution explorer should look like, if you add a test WPF application.

Image 2:if not available see github repo

  1. Right-Click on the WPF application Project in the solution explorer and Add → Project Reference
  2. Importing the LbraryClass to the WPF aaplication using the lines with the gray arrow.

Image 3:if not available see github repo

Usage

Besides a stand-alone calander, its a great and stylized solution for a Date and Time Picker as a Popup for a TextBlock Date and time selection.

Contributing

If you would like to contribute to the project, I would love hearing from you. I message in github or in my e-mail.

License

MIT-license


Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • No dependencies.

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
3.0.0 158 1/13/2024
2.0.0 118 1/3/2024
1.0.0 101 1/1/2024

Implementation of Date Picker, migration to .NET 6. In this release, the TimePicker Widget is available