Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dirkster99/dropdownbuttonlib
The DropDownButtonLib project supplies MVVM/WPF drop down controls that are based on a button.
https://github.com/dirkster99/dropdownbuttonlib
csharp dark-theme dotnet dropdownbutton library light-theme mit-license mvvm nuget-package split-button theme wpf
Last synced: 23 days ago
JSON representation
The DropDownButtonLib project supplies MVVM/WPF drop down controls that are based on a button.
- Host: GitHub
- URL: https://github.com/dirkster99/dropdownbuttonlib
- Owner: Dirkster99
- License: mit
- Created: 2017-07-27T18:19:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T17:08:46.000Z (about 5 years ago)
- Last Synced: 2024-10-14T03:03:40.060Z (23 days ago)
- Topics: csharp, dark-theme, dotnet, dropdownbutton, library, light-theme, mit-license, mvvm, nuget-package, split-button, theme, wpf
- Language: C#
- Size: 297 KB
- Stars: 11
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Build status](https://ci.appveyor.com/api/projects/status/ie3dx7fa4vujwhgs?svg=true)](https://ci.appveyor.com/project/Dirkster99/dropdownbuttonlib)
[![Release](https://img.shields.io/github/release/Dirkster99/DropDownButtonLib.svg)](https://github.com/Dirkster99/DropDownButtonLib/releases/latest)
[![NuGet](https://img.shields.io/nuget/dt/Dirkster.DropDownButtonLib.svg)](http://nuget.org/packages/Dirkster.DropDownButtonLib)![Net4](https://badgen.net/badge/Framework/.Net 4/blue) ![NetCore3](https://badgen.net/badge/Framework/NetCore 3/blue)
Overview
The DropDownButtonLib project supplies MVVM/WPF drop down controls that are based on a button.There are sample screenshot on the Codeplex site from were this project is migrated from:
https://dropdownbuttonlib.codeplex.com/This project is based on the drop down control contained in the
Extended WPF Toolkit™ Community Edition:https://wpftoolkit.codeplex.com/ from Xceed.
It includes some bugfixes to the original implementation and extends the original controls with a:- DropDownButton, SplitButton
with:
- DropDownItemsButton, SplitItemsButtoncontrols. The original implementation (DropDownButton, SplitButton) can be used to drop down and interact with single drop down items, while the extended controls (DropDownItemsButton, SplittItemsButton) are based on an ItemsControl and can thus be with multiple drop down items (in a similar fashion as a standard WPF ComboBox or ListBox control).
## DropDownButton
The DropDown button shows a drop down element that gives users a way of editing something and confirming it with Cancel or OK (this works similar to a dialog but in a drop down scenario).## SplitButton
The Split button has a drop down section and a button.
The drop down element gives you a way of editing/selecting in a similar scenario as in the DropDownButton shown above, while the button itself can be used like a shortcut that refers to the last selected element.## DropDownItemsButton
The DropDown button shows a drop down element which can be used to select one element out of many. This could also be implemented with the DropDownButton control but it is much easier with this control since it already contains an ItemsControl inside the drop down element.## SplitItemsButton
The Split button has a drop down section and a button.
The drop down element gives you a way of selecting from among many elements while the button itself can be used like a shortcut that refers to the last selected element.## Demo Application
This is a screenshot of the MainWindow of the included Test Application. The complete implementation is MVVM compliant and all controls are fully themeable (look-less controls).## Theming
Load *Light* or *Dark* brush resources in you resource dictionary to take advantage of existing definitions.
```XAML
``````XAML
```These definitions do not theme all controls used within this library. You should use a standard theming library, such as:
- [MahApps.Metro](https://github.com/MahApps/MahApps.Metro),
- [MLib](https://github.com/Dirkster99/MLib), or
- [MUI](https://github.com/firstfloorsoftware/mui)to also theme standard elements, such as, button and textblock etc.