An open API service indexing awesome lists of open source software.

https://github.com/dwndland/chapter.net.wpf.controls

Chapter.Net.WPF.Controls is a comprehensive collection of modern, customizable WPF controls for professional desktop applications.
https://github.com/dwndland/chapter.net.wpf.controls

controls csharp custom wpf

Last synced: 6 months ago
JSON representation

Chapter.Net.WPF.Controls is a comprehensive collection of modern, customizable WPF controls for professional desktop applications.

Awesome Lists containing this project

README

          

![Chapter](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Icon.png)

# Chapter.Net.WPF.Controls Library

## Overview
Chapter.Net.WPF.Controls is a comprehensive collection of modern, customizable WPF controls for professional desktop applications.

## Features
- **ChapterTextBox:** Enhances the WPF TextBox by the possibilities to show background text, drop files and folders and place additional controls in.
- **ChapterArcPanel:** Arranges child elements in an arc form.
- **ChapterBrowseTextBox:** Adds a browse button to the ChapterTextBox.
- **ChapterTabControl:** Enhances the TabControl with buttons for add new tab item and close buttons of existing tab items.
- **ChapterEllipsePanel:** Arranges child elements in a configurable ellipse form.
- **ChapterComboBox:** Represents a ComboBox which takes an enumeration value and shows all possible states inside the dropdown menu for let choosing a value.
- **ChapterTreeView:** Enhances ChapterTreeView multi select, select an item by right click on it and a two way bindable SelectedItem.
- **ChapterTextBlock:** Formats the given translation.
- **ChapterHeaderedContentControl:** Provides the possibility to automatically align Headers and contents.
- **ChapterButton:** Enhances the WPF Button to show an disabled image. The bound image will be shown monochrome if the button is disabled.
- **ItemsPanel:** A UniformGrid with only one row or one column, depending on the orientation, which adds a spacing between the items.
- **ChapterNumberBox:** Displays a TextBox to accept numeric values only, so the text can be bound to a numeric property directly without converting.
- **ChapterToggleSwitch:** A custom checkbox where a slider shows the checked and unchecked state.
- **ChapterPasswordBox:** Hosts and enhances the WPF ChapterPasswordBox to be able to bind the password value and show info text in the background.
- **ChapterResizer:** Brings the possibility to resize every UI control manually by hold and drag the corners or sides.
- **ChapterSearchTextBox:** Adds search and cancel buttons to the ChapterTextBox to represent a search box shown like in the Windows explorer.
- **ChapterStackPanel:** A StackPanel which adds a spacing between the items.
- **ChapterSplitButton:** A button with a drop down where more commands can be available.
- **ChapterTimeBox:** Shows textboxes to let the user input a time.
- **ChapterTitledItemsControl:** Provides the possibility to automatically align titles and contents.
- **ChapterTreeListView:** Shows a TreeView with the possibility to expand or collapse child elements shown in a GridView. The expander can be placed in every column cell template.
- **ChapterUniformPanel:** A UniformGrid with only one row or one column, depending on the orientation, which adds a spacing between the items.
- **ChapterWrapPanel:** Enhances the WrapPanel by the feature that all items will have the same size.

## Getting Started

1. **Installation:**
- Install the Chapter.Net.WPF.Controls library via NuGet Package Manager:
```bash
dotnet add package Chapter.Net.WPF.Controls
```

2. **ChapterTextBox:**
- Usage
```xaml

```
![ChapterTextBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTextBox.png)

3. **ChapterArcPanel:**
- Usage
```xaml












```
![ChapterArcPanel](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterArcPanel.png)

4. **ChapterBrowseTextBox:**
- Usage
```xaml

```
![ChapterBrowseTextBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterBrowseTextBox.png)

5. **ChapterTabControl:**
- Usage
```xaml

```
![ChapterTabControl](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTabControl.png)

6. **ChapterEllipsePanel:**
- Usage
```xaml












```
![ChapterEllipsePanel](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterEllipsePanel.png)

7. **ChapterComboBox:**
- Usage
```csharp
public enum Number
{
[Description("The Number One")]
One,

[Description("The Number Two")]
Two,

[Description("The Number Three")]
Three
}

public class MainViewModel : ObservableObject
{
public MainViewModel()
{
Number = Number.One;
}

public Number Number
{
get { return _number; }
set
{
_number = value;
NotifyPropertyChanged("Number");
}
}
private Number _number;
}
```
```xaml






















```
![ChapterComboBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterComboBox.png)

8. **ChapterTreeView:**
- Usage
```xaml







```
![ChapterTreeView](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTreeView.png)

9. **ChapterTextBlock:**
- Usage
```xaml










```
![ChapterTextBlock](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTextBlock.png)

10. **ChapterHeaderedContentControl:**
- Usage
```xaml











```
![ChapterHeaderedContentControl](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterHeaderedContentControl.png)

11. **ChapterButton:**
- Usage
```xaml


```
![ChapterButton](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterButton.png)

12. **ItemsPanel:**
- Usage
```xaml






















```
![ItemsPanel](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ItemsPanel.png)

13. **ChapterNumberBox:**
- Usage
```xaml


```
![ChapterNumberBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterNumberBox.png)

14. **ChapterToggleSwitch:**
- Usage
```xaml


```
![ChapterToggleSwitch](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterToggleSwitch.png)

15. **ChapterPasswordBox:**
- Usage
```xaml

```
![ChapterPasswordBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterPasswordBox.png)

16. **ChapterResizer:**
- Usage
```xaml











```
![ChapterResizer](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterResizer.png)

17. **ChapterSearchTextBox:**
- Usage
```xaml

```
![ChapterSearchTextBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterSearchTextBox.png)

18. **ChapterStackPanel:**
- Usage
```xaml









```
![ChapterStackPanel](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterStackPanel.png)

19. **ChapterSplitButton:**
- Usage
```xaml







<Setter Property="Command" Value="{Binding DataContext.ChapterSplitButtonItemCommand, RelativeSource={RelativeSource AncestorType={x:Type buttons:ChapterSplitButton}}}" />
<Setter Property="CommandParameter" Value="{Binding Index}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />








```
![ChapterSplitButton](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterSplitButton.png)

20. **ChapterTimeBox:**
- Usage
```xaml

```
![ChapterTimeBox](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTimeBox.png)

21. **ChapterTitledItemsControl:**
- Usage
```xaml











```
![ChapterTitledItemsControl](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTitledItemsControl.png)

22. **ChapterTreeListView:**
- Usage
```xaml




















```
![ChapterTreeListView](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterTreeListView.png)

23. **ChapterUniformPanel:**
- Usage
```xaml






```
![ChapterUniformPanel](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterUniformPanel.png)

24. **ChapterWrapPanel:**
- Usage
```xaml











```
![ChapterWrapPanel](https://raw.githubusercontent.com/dwndlnd/Chapter.Net.WPF.Controls/master/Images/ChapterWrapPanel.png)

(Note: The shown images are taken from the demo project and are not made by the code next to it.)

## Links
* [NuGet](https://www.nuget.org/packages/Chapter.Net.WPF.Controls)
* [GitHub](https://github.com/dwndlnd/Chapter.Net.WPF.Controls)

## License
Copyright (c) David Wendland. All rights reserved.
Licensed under the MIT License. See LICENSE file in the project root for full license information.