HandyControl/README.md

328 lines
11 KiB
Markdown
Raw Normal View History

2018-08-24 15:00:26 +08:00
![logo](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/icon.png)
2019-01-19 21:00:02 +08:00
![dotnet-version](https://img.shields.io/badge/.net-%3E%3D4.0-blue.svg) ![csharp-version](https://img.shields.io/badge/C%23-7.0-blue.svg) ![IDE-version](https://img.shields.io/badge/IDE-vs2017-blue.svg) [![nuget-version](https://img.shields.io/nuget/v/HandyControl.svg)](https://www.nuget.org/packages/HandyControl) [![build-status](https://ci.appveyor.com/api/projects/status/github/handyorg/handycontrol?svg=true)](https://ci.appveyor.com/project/NaBian/handycontrol) [![Join the chat at https://gitter.im/HandyControl/Lobby](https://badges.gitter.im/HandyControl/Lobby.svg)](https://gitter.im/HandyControl/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![qq-group](https://img.shields.io/badge/qq-714704041-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=a571e5553c9d41e49c4f22f3a8b2865451497a795ff281fedf3285def247efc1)
2019-01-31 21:10:51 +08:00
[![wiki](https://img.shields.io/badge/wiki-Complete-brightgreen.svg)](https://github.com/ghost1372/HandyControl/wiki)
2018-12-15 23:37:26 +08:00
2019-01-31 21:10:51 +08:00
# Welcome to HandyControl
2019-01-17 15:31:06 +08:00
2019-01-31 21:10:51 +08:00
## We're all here
2019-01-17 15:31:06 +08:00
2019-01-31 21:10:51 +08:00
![qq-group](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/qq-group.png)
2018-08-24 15:00:26 +08:00
2019-04-02 23:32:58 +08:00
## 面向中国
2019-04-02 23:31:45 +08:00
2019-04-02 23:32:58 +08:00
### 中文文档(刚开始写)
2019-04-02 23:31:45 +08:00
先给几个写好的:
[Growl](https://handyorg.github.io/handycontrol/control/growl/)
[GrowlInfo](https://handyorg.github.io/handycontrol/data/GrowlInfo/)
[InfoType](https://handyorg.github.io/handycontrol/data/InfoType/)
2019-04-02 23:32:58 +08:00
### 捐赠
2019-04-02 23:31:45 +08:00
如果您觉得HandyControl还不错并且刚好有些闲钱那么可以选择以下两种方式来捐赠
* [以HandyControl的名义为慈善事业做贡献](http://www.chinacharityfederation.org/ConfirmDonation/0.html?zhijie=3)
* 为我们购买防脱洗发水
![qrcode](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/qrcode.png)
2019-03-31 15:43:55 +08:00
## Special thanks to
2019-02-26 20:22:15 +08:00
2019-03-31 16:00:58 +08:00
[![JetBrains](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/resharper_logo.png)](https://www.jetbrains.com/?from=HandyControl)
2019-02-26 20:22:15 +08:00
2019-01-31 21:10:51 +08:00
## Usage
2019-01-30 02:55:50 +08:00
Step 1Add a reference to HandyControl or search for HandyControl on the nuget;
```Install-Package HandyControl```
Step 2Add code in App.xaml as follows:
```XML
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
```
Step 3enjoy coding
2018-10-09 00:41:11 +08:00
## Latest examples
2018-08-24 15:00:26 +08:00
2019-03-31 15:43:55 +08:00
### NotifyIcon
![NotifyIcon](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/NotifyIcon.png)
2019-03-12 00:47:25 +08:00
### Dialog
![Dialog](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Dialog.png)
2019-03-07 23:37:34 +08:00
### WaveProgressBar
![WaveProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/WaveProgressBar.gif)
2019-03-07 00:12:44 +08:00
### Badge
![Badge](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Badge.png)
2019-03-03 16:12:12 +08:00
### Gravatar
![Gravatar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Gravatar.gif)
2019-03-31 15:43:55 +08:00
## History publication
2019-03-31 16:53:05 +08:00
### GoToTop
![GoToTop](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GoToTop.gif)
2019-03-31 17:28:18 +08:00
### ChatBubble
2019-03-31 16:53:05 +08:00
2019-03-31 17:28:18 +08:00
![ChatBubble](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ChatBubble.png)
2019-03-31 16:53:05 +08:00
### Label
![Label](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Label.png)
2019-01-28 00:31:06 +08:00
### Transfer
![Transfer](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Transfer.png)
2019-01-22 20:02:40 +08:00
### ProgressButton
![ProgressButton](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressButton.png)
2019-01-06 16:55:04 +08:00
### CoverFlow
![CoverFlow](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CoverFlow.gif)
2019-01-02 18:48:30 +08:00
### CoverView
![CoverView](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CoverView.gif)
2019-01-31 21:10:51 +08:00
### MessageBox
![MessageBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/MessageBox.png)
2018-12-28 00:14:09 +08:00
### WaterfallPanel
![WaterfallPanel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/WaterfallPanel.png)
2018-12-27 00:01:03 +08:00
### Rate
![Rate](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Rate.png)
2018-12-25 18:24:01 +08:00
### BlurWindow
![BlurWindow](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/BlurWindow.png)
2018-12-22 16:19:26 +08:00
### FlipClock
![FlipClock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/FlipClock.gif)
2018-12-27 14:40:29 +08:00
### Shield
![Shield](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Shield.png)
2018-11-25 22:41:35 +08:00
### OutlineText
![OutlineText](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/OutlineText.png)
2018-11-22 19:07:31 +08:00
### Tag
![Tag](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Tag.png)
### ToolBar
2018-11-21 18:58:20 +08:00
![ToolBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ToolBar.png)
2018-11-22 19:07:31 +08:00
### Slider
2018-11-11 15:07:55 +08:00
![Slider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Slider.png)
2018-11-22 19:07:31 +08:00
### CircleProgressBar
2018-11-01 18:04:33 +08:00
![CircleProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CircleProgressBar.png)
### ButtonStyle
![ButtonStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Button.png)
### ToggleButtonStyle
![ToggleButtonStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ToggleButton.png)
### RadioButtonStyle
![RadioButtonStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/RadioButton.png)
### CheckBoxStyle
![CheckBoxStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CheckBox.png)
### ListBoxStyle
![ListBoxStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ListBox.png)
### TreeViewStyle
![TreeViewStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TreeView.png)
### ListViewStyle
![ListViewStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ListView.png)
2018-11-22 19:07:31 +08:00
### DataGrid
![DataGrid](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DataGrid.png)
2018-08-24 15:00:26 +08:00
2018-11-22 19:07:31 +08:00
### Now you can switch to dark theme
2018-10-28 16:44:10 +08:00
![dark theme](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DarkTheme.png)
2018-11-22 19:07:31 +08:00
### ColorPicker
2018-08-24 15:30:21 +08:00
2018-10-09 00:41:11 +08:00
![ColorPicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ColorPicker.gif)
2018-08-24 15:30:21 +08:00
2018-11-22 19:07:31 +08:00
### Loading
2018-08-27 11:53:14 +08:00
2018-10-09 00:41:11 +08:00
![Loading](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Loading.gif)
2018-08-27 11:53:14 +08:00
2018-11-22 19:07:31 +08:00
### Carousel
2018-08-27 11:53:14 +08:00
2018-10-09 00:41:11 +08:00
![Carousel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Carousel.gif)
2018-09-04 15:42:37 +08:00
2018-11-22 19:07:31 +08:00
### Pagination
2018-08-31 19:33:17 +08:00
2018-10-09 00:41:11 +08:00
![Pagination](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Pagination.gif)
2018-08-31 19:33:17 +08:00
2018-11-22 19:07:31 +08:00
### Expander
2018-09-04 15:42:37 +08:00
2018-10-09 00:41:11 +08:00
![Expander](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Expander.gif)
2018-09-04 15:42:37 +08:00
2018-11-22 19:07:31 +08:00
### TimeBar
2018-09-04 15:42:37 +08:00
2018-10-09 00:41:11 +08:00
![TimeBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimeBar.gif)
2018-09-04 15:42:37 +08:00
2018-11-22 19:07:31 +08:00
### ImageBrowser
2018-09-04 15:42:37 +08:00
2018-10-09 00:41:11 +08:00
![ImageBrowser](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ImageBrowser.gif)
2018-09-04 15:42:37 +08:00
2019-03-31 17:28:18 +08:00
### PreviewSlider
2019-03-31 17:43:56 +08:00
![PreviewSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/PreviewSlider.gif)
2019-03-31 17:28:18 +08:00
2018-11-22 19:07:31 +08:00
### CompareSlider
2018-09-11 12:00:52 +08:00
2018-10-09 00:41:11 +08:00
![CompareSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-h.gif)
2018-09-11 12:00:52 +08:00
2018-10-09 00:41:11 +08:00
![CompareSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-v.gif)
2018-09-18 19:22:11 +08:00
2018-11-22 19:07:31 +08:00
### Growl
2018-09-18 19:22:11 +08:00
2018-10-09 00:41:11 +08:00
![Growl](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Growl.gif)
2018-08-27 11:53:14 +08:00
2018-11-22 19:07:31 +08:00
### AnimationPath
2018-10-09 00:41:11 +08:00
![AnimationPath](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/AnimationPath.gif)
2018-11-22 19:07:31 +08:00
### ProgressBar
2018-10-09 00:41:11 +08:00
![ProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressBar.gif)
2018-11-22 19:07:31 +08:00
### TabControl
2018-10-09 00:41:11 +08:00
![TabControl](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.gif)
### TabControlStyle
![TabControlStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.png)
2018-12-13 13:51:42 +08:00
### GroupBox
![GroupBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GroupBox.png)
2018-11-22 19:07:31 +08:00
### StepBar
2018-10-09 00:41:11 +08:00
2018-11-11 15:07:55 +08:00
![StepBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/StepBar.png)
2018-10-09 00:41:11 +08:00
### GifImage
![GifImage](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GifImage.gif)
### ContextMenu
![ContextMenu](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ContextMenu.png)
2018-11-22 19:07:31 +08:00
### Calendar
2018-10-09 00:41:11 +08:00
![Calendar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Calendar.jpg)
2018-11-22 19:07:31 +08:00
### Clock
2018-10-09 00:41:11 +08:00
![Clock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Clock.jpg)
### CalendarWithClock
![CalendarWithClock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CalendarWithClock.png)
2018-11-22 19:07:31 +08:00
### TextBlock
2018-10-10 16:38:52 +08:00
![TextBlock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TextBlock.jpg)
### RichTextBoxStyle
![RichTextBoxStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/RichTextBox.png)
2018-11-22 19:07:31 +08:00
### TextBox
2018-10-10 16:38:52 +08:00
![TextBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TextBox.jpg)
2018-11-22 19:07:31 +08:00
### ComboBox
2018-10-10 16:38:52 +08:00
![ComboBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ComboBox.jpg)
2019-03-24 17:49:46 +08:00
### NumericUpDown
![NumericUpDown](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/NumericUpDown.png)
### SearchBar
![SearchBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SearchBar.png)
2018-11-22 19:07:31 +08:00
### PasswordBox
2018-10-10 16:38:52 +08:00
![PasswordBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/PasswordBox.jpg)
2018-11-22 19:07:31 +08:00
### DataPicker
2018-10-10 16:38:52 +08:00
![DataPicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DataPicker.jpg)
2018-11-22 19:07:31 +08:00
### TimePicker
2018-10-10 16:38:52 +08:00
![TimePicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimePicker.jpg)
2019-03-24 17:49:46 +08:00
### DateTimePicker
![DateTimePicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DateTimePicker.png)
2019-03-31 17:28:18 +08:00
### ScrollViewer
![ScrollViewer](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ScrollViewer.png)
2018-11-22 19:07:31 +08:00
### CirclePanel
2018-10-10 16:38:52 +08:00
![CirclePanel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CirclePanel.jpg)
### BorderStyle
![BorderStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Border.png)
2019-03-31 17:28:18 +08:00
### Brush
![Brush](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Brush.png)
2019-03-31 15:43:55 +08:00
## Switching configuration
2019-01-30 02:55:50 +08:00
![Switching configuration](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SwitchConfig.png)