515 lines
26 KiB
Markdown
515 lines
26 KiB
Markdown
[中文](https://github.com/HandyOrg/HandyControl/blob/master/README-cn.md) - [English](https://github.com/HandyOrg/HandyControl/blob/master/README.md)
|
|
|
|

|
|
|
|
   [](https://www.nuget.org/packages/HandyControl)  [](https://gitter.im/HandyControl/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://github.com/ghost1372/HandyControl/wiki) [](https://www.nuget.org/packages/HandyControl)
|
|
|
|
# Welcome to HandyControl
|
|
|
|
## 面向中国
|
|
|
|
### 加入讨论
|
|
|
|
| | 西江月群 | 定风波群 | 广寒秋群 |
|
|
|-|:-:|:-:|:-:|
|
|
| 群号码 | [](//shang.qq.com/wpa/qunwpa?idkey=a571e5553c9d41e49c4f22f3a8b2865451497a795ff281fedf3285def247efc1) | [](//shang.qq.com/wpa/qunwpa?idkey=5c18622a0f6ee07a6f33afa8cdb85b1f72ea50e878271dfcec919c76b55afee7) | 微信群 |
|
|
| 二维码 |  |  |  |
|
|
|
|
### 码云
|
|
|
|
[https://gitee.com/handyorg/HandyControl/](https://gitee.com/handyorg/HandyControl/)
|
|
|
|
### 中文文档
|
|
|
|
[https://handyorg.github.io/handycontrol/](https://handyorg.github.io/handycontrol/)
|
|
|
|
### 赞助
|
|
如果您觉得HandyControl还不错,并且刚好有些闲钱,那么可以选择以下两种方式来赞助(记得入群联系我们呀~~):
|
|
|
|
* [以HandyControl的名义为慈善事业做贡献](http://www.chinacharityfederation.org/ConfirmDonation/0.html?zhijie=3)
|
|
|
|
* 为我们购买防脱洗发水
|
|

|
|
|
|
## Contributors
|
|
|
|
<a href="https://github.com/ghost1372" target="_blank"><img style="border-radius:50%!important" width="64px" alt="ghost1372" src="https://avatars0.githubusercontent.com/u/9213496?s=64&v=4"></a>
|
|
<a href="https://github.com/DingpingZhang" target="_blank"><img style="border-radius:50%!important" width="64px" alt="DingpingZhang" src="https://avatars0.githubusercontent.com/u/8541016?s=64&v=4"></a>
|
|
<a href="https://github.com/M0n7y5" target="_blank"><img style="border-radius:50%!important" width="64px" alt="M0n7y5" src="https://avatars0.githubusercontent.com/u/17201053?s=64&v=4"></a>
|
|
<a href="https://github.com/guanguanchuangyu" target="_blank"><img style="border-radius:50%!important" width="64px" alt="guanguanchuangyu" src="https://avatars1.githubusercontent.com/u/25916858?s=64&v=4"></a>
|
|
<a href="https://github.com/yanchao891012" target="_blank"><img style="border-radius:50%!important" width="64px" alt="yanchao891012" src="https://avatars0.githubusercontent.com/u/16846702?s=64&v=4"></a>
|
|
<a href="https://github.com/noctwolf" target="_blank"><img style="border-radius:50%!important" width="64px" alt="noctwolf" src="https://avatars3.githubusercontent.com/u/21022467?s=64&v=4"></a>
|
|
<a href="https://github.com/xianyun666" target="_blank"><img style="border-radius:50%!important" width="64px" alt="xianyun666" src="https://avatars1.githubusercontent.com/u/22339210?s=64&v=4"></a>
|
|
<a href="https://github.com/afunc233" target="_blank"><img style="border-radius:50%!important" width="64px" alt="afunc233" src="https://avatars1.githubusercontent.com/u/19919631?s=64&v=4"></a>
|
|
<a href="https://github.com/DinoChan" target="_blank"><img style="border-radius:50%!important" width="64px" alt="DinoChan" src="https://avatars1.githubusercontent.com/u/6076257?s=64&v=4"></a>
|
|
<a href="https://github.com/MrZhangYuan" target="_blank"><img style="border-radius:50%!important" width="64px" alt="MrZhangYuan" src="https://avatars2.githubusercontent.com/u/16384123?s=64&v=4"></a>
|
|
<a href="https://github.com/JinhuaChen-OMEC" target="_blank"><img style="border-radius:50%!important" width="64px" alt="JinhuaChen-OMEC" src="https://avatars0.githubusercontent.com/u/47024703?s=64&v=4"></a>
|
|
<a href="https://github.com/seedtyx" target="_blank"><img style="border-radius:50%!important" width="64px" alt="seedtyx" src="https://avatars2.githubusercontent.com/u/5851975?s=64&v=4"></a>
|
|
<a href="https://github.com/KleinPan" target="_blank"><img style="border-radius:50%!important" width="64px" alt="KleinPan" src="https://avatars2.githubusercontent.com/u/34428802?s=64&v=4"></a>
|
|
<a href="https://github.com/yxhq" target="_blank"><img style="border-radius:50%!important" width="64px" alt="yxhq" src="https://avatars3.githubusercontent.com/u/10378954?s=64&v=4"></a>
|
|
<a href="https://github.com/AiHaibara" target="_blank"><img style="border-radius:50%!important" width="64px" alt="AiHaibara" src="https://avatars3.githubusercontent.com/u/5195234?s=64&v=4"></a>
|
|
<a href="https://github.com/walterlv" target="_blank"><img style="border-radius:50%!important" width="64px" alt="walterlv" src="https://avatars3.githubusercontent.com/u/9959623?s=64&v=4"></a>
|
|
<a href="https://github.com/Luoyingliang" target="_blank"><img style="border-radius:50%!important" width="64px" alt="Luoyingliang" src="https://avatars2.githubusercontent.com/u/29297262?s=64&v=4"></a>
|
|
<a href="https://github.com/lindexi" target="_blank"><img style="border-radius:50%!important" width="64px" alt="lindexi" src="https://avatars3.githubusercontent.com/u/16054566?s=64&v=4"></a>
|
|
<a href="https://github.com/danwalmsley" target="_blank"><img style="border-radius:50%!important" width="64px" alt="danwalmsley" src="https://avatars1.githubusercontent.com/u/4672627?s=64&v=4"></a>
|
|
<a href="https://github.com/varKeytrap" target="_blank"><img style="border-radius:50%!important" width="64px" alt="varKeytrap" src="https://avatars0.githubusercontent.com/u/17864005?s=64&v=4"></a>
|
|
<a href="https://github.com/xsnakes" target="_blank"><img style="border-radius:50%!important" width="64px" alt="xsnakes" src="https://avatars1.githubusercontent.com/u/4363683?s=64&v=4"></a>
|
|
<a href="https://github.com/mmasdivins" target="_blank"><img style="border-radius:50%!important" width="64px" alt="mmasdivins" src="https://avatars1.githubusercontent.com/u/63245359?s=64&v=4"></a>
|
|
|
|
## Backers
|
|
|
|
<a href="https://github.com/bigorange1900" target="_blank"><img style="border-radius:50%!important" width="64px" alt="bigorange1900" src="https://avatars1.githubusercontent.com/u/49062011?s=64&v=4"></a>
|
|
<a href="https://github.com/14632791" target="_blank"><img style="border-radius:50%!important" width="64px" alt="14632791" src="https://avatars3.githubusercontent.com/u/27358331?s=64&v=4"></a>
|
|
<a href="https://github.com/IUpdatable" target="_blank"><img style="border-radius:50%!important" width="64px" alt="IUpdatable" src="https://avatars2.githubusercontent.com/u/51181716?s=64&v=4"></a>
|
|
<a href="https://github.com/maplewei" target="_blank"><img style="border-radius:50%!important" width="64px" alt="maplewei" src="https://avatars1.githubusercontent.com/u/13778095?s=64&v=4"></a>
|
|
<a href="https://github.com/sunshang-hl" target="_blank"><img style="border-radius:50%!important" width="64px" alt="sunshang-hl" src="https://avatars1.githubusercontent.com/u/34593206?s=64&v=4"></a>
|
|
<a href="https://github.com/yangkang326" target="_blank"><img style="border-radius:50%!important" width="64px" alt="yangkang326" src="https://avatars1.githubusercontent.com/u/51224259?s=64&v=4"></a>
|
|
<a href="https://github.com/zmrbak" target="_blank"><img style="border-radius:50%!important" width="64px" alt="zmrbak" src="https://avatars3.githubusercontent.com/u/7257543?s=64&v=4"></a>
|
|
<a href="https://github.com/AFei19911012" target="_blank"><img style="border-radius:50%!important" width="64px" alt="AFei19911012" src="https://avatars0.githubusercontent.com/u/31465314?s=64&v=4"></a>
|
|
<a href="https://github.com/wayne2006" target="_blank"><img style="border-radius:50%!important" width="64px" alt="wayne2006" src="https://avatars0.githubusercontent.com/u/21210915?s=64&v=4"></a>
|
|
<a href="https://github.com/towerDLH" target="_blank"><img style="border-radius:50%!important" width="64px" alt="towerDLH" src="https://avatars1.githubusercontent.com/u/53053537?s=64&v=4"></a>
|
|
<a href="https://github.com/BluceBosen" target="_blank"><img style="border-radius:50%!important" width="64px" alt="BluceBosen" src="https://avatars3.githubusercontent.com/u/24750822?s=64&v=4"></a>
|
|
<a href="https://github.com/MrZhangYuan" target="_blank"><img style="border-radius:50%!important" width="64px" alt="MrZhangYuan" src="https://avatars2.githubusercontent.com/u/16384123?s=64&v=4"></a>
|
|
<a href="https://github.com/YC946586" target="_blank"><img style="border-radius:50%!important" width="64px" alt="YC946586" src="https://avatars2.githubusercontent.com/u/49895722?s=64&v=4"></a>
|
|
<a href="https://github.com/wihalo" target="_blank"><img style="border-radius:50%!important" width="64px" alt="wihalo" src="https://avatars0.githubusercontent.com/u/26402999?s=64&v=4"></a>
|
|
<a href="https://github.com/startewho" target="_blank"><img style="border-radius:50%!important" width="64px" alt="startewho" src="https://avatars0.githubusercontent.com/u/898009?s=64&v=4"></a>
|
|
<a href="https://github.com/5653325" target="_blank"><img style="border-radius:50%!important" width="64px" alt="5653325" src="https://avatars1.githubusercontent.com/u/3361135?s=64&v=4"></a>
|
|
<a href="https://github.com/LostAsk" target="_blank"><img style="border-radius:50%!important" width="64px" alt="LostAsk" src="https://avatars0.githubusercontent.com/u/46678241?s=64&v=4"></a>
|
|
<a href="https://github.com/sanshiliuxiao" target="_blank"><img style="border-radius:50%!important" width="64px" alt="sanshiliuxiao" src="https://avatars3.githubusercontent.com/u/25658690?s=64&v=4"></a>
|
|
<a href="https://github.com/QJJMSK" target="_blank"><img style="border-radius:50%!important" width="64px" alt="QJJMSK" src="https://avatars2.githubusercontent.com/u/28100716?s=64&v=4"></a>
|
|
<a href="https://github.com/dspcjy" target="_blank"><img style="border-radius:50%!important" width="64px" alt="dspcjy" src="https://avatars3.githubusercontent.com/u/17764711?s=64&v=4"></a>
|
|
<a href="https://github.com/yaronzz" target="_blank"><img style="border-radius:50%!important" width="64px" alt="yaronzz" src="https://avatars0.githubusercontent.com/u/15530958?s=64&v=4"></a>
|
|
|
|
## Special thanks to
|
|
|
|
[](https://visualstudio.microsoft.com/free-developer-offers/)
|
|
[](https://www.jetbrains.com/?from=HandyControl)
|
|
[](https://cakebuild.net/)
|
|
[](https://gitter.im/)
|
|
|
|
## Usage
|
|
|
|
Step 1: Add a reference to HandyControl or search for HandyControl on the nuget;
|
|
|
|
```Install-Package HandyControl```
|
|
|
|
Step 2: Add 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 3: Add NameSpace:
|
|
`xmlns:hc="https://handyorg.github.io/handycontrol"`
|
|
|
|
Step 4: Enjoy coding
|
|
|
|
## VSIX packages for Visual Studio
|
|
|
|
| [VS2019](https://marketplace.visualstudio.com/items?itemName=HandyOrg.handycontrolforvs2019) |
|
|
| ------------- |
|
|
|
|
## Stargazers over time
|
|
|
|
[](https://starchart.cc/HandyOrg/HandyControl)
|
|
|
|
## Overview
|
|
|
|

|
|
|
|

|
|
|
|
## Latest examples
|
|
|
|
### FlexPanel
|
|
|
|

|
|
|
|
### CheckComboBox
|
|
|
|

|
|
|
|
### ImageSelector
|
|
|
|

|
|
|
|
### PropertyGrid
|
|
|
|

|
|
|
|
### Screenshot
|
|
|
|

|
|
|
|
## History publication
|
|
|
|
### GooeyEffect
|
|
|
|

|
|
|
|
### GlowWindow
|
|
|
|

|
|
|
|
### FlowDocumentScrollViewerStyle
|
|
|
|

|
|
|
|
### PinBox
|
|
|
|

|
|
|
|
### Effects
|
|
|
|

|
|
|
|
### RelativePanel
|
|
|
|

|
|
|
|
### Drawer
|
|
|
|

|
|
|
|
### Poptip
|
|
|
|

|
|
|
|
### Divider
|
|
|
|

|
|
|
|
### GeometryAnimation
|
|
|
|

|
|
|
|
### SplitButton
|
|
|
|

|
|
|
|
### FloatingBlock
|
|
|
|

|
|
|
|
### HoneycombPanel
|
|
|
|

|
|
|
|
### RunningBlock
|
|
|
|

|
|
|
|
### ImageBlock
|
|
|
|

|
|
|
|

|
|
|
|
### Magnifier
|
|
|
|

|
|
|
|
### Card
|
|
|
|

|
|
|
|
### ButtonGroup
|
|
|
|

|
|
|
|
### Grid
|
|
|
|

|
|
|
|
### SideMenu
|
|
|
|

|
|
|
|
### NotifyIcon
|
|
|
|

|
|
|
|
### Dialog
|
|
|
|

|
|
|
|
### WaveProgressBar
|
|
|
|

|
|
|
|
### Badge
|
|
|
|

|
|
|
|
### Gravatar
|
|
|
|

|
|
|
|
### GoToTop
|
|
|
|

|
|
|
|
### ChatBubble
|
|
|
|

|
|
|
|
### Label
|
|
|
|

|
|
|
|
### Transfer
|
|
|
|

|
|
|
|
### ProgressButton
|
|
|
|

|
|
|
|
### CoverFlow
|
|
|
|

|
|
|
|
### CoverView
|
|
|
|

|
|
|
|
### MessageBox
|
|
|
|

|
|
|
|
### WaterfallPanel
|
|
|
|

|
|
|
|
### Rate
|
|
|
|

|
|
|
|
### BlurWindow
|
|
|
|

|
|
|
|
### FlipClock
|
|
|
|

|
|
|
|
### Shield
|
|
|
|

|
|
|
|
### OutlineText
|
|
|
|

|
|
|
|
### Tag
|
|
|
|

|
|
|
|
### ToolBar
|
|
|
|

|
|
|
|
### Slider
|
|
|
|

|
|
|
|
### RangeSlider
|
|
|
|

|
|
|
|
### CircleProgressBar
|
|
|
|

|
|
|
|
### ButtonStyle
|
|
|
|

|
|
|
|
### ToggleButtonStyle
|
|
|
|

|
|
|
|
### RadioButtonStyle
|
|
|
|

|
|
|
|
### CheckBoxStyle
|
|
|
|

|
|
|
|
### ListBoxStyle
|
|
|
|

|
|
|
|
### TreeViewStyle
|
|
|
|

|
|
|
|
### ListViewStyle
|
|
|
|

|
|
|
|
### DataGrid
|
|
|
|

|
|
|
|
### Now you can switch to dark theme
|
|
|
|

|
|
|
|
### ColorPicker
|
|
|
|

|
|
|
|
### Loading
|
|
|
|

|
|
|
|
### Carousel
|
|
|
|

|
|
|
|
### Pagination
|
|
|
|

|
|
|
|
### Expander
|
|
|
|

|
|
|
|
### TimeBar
|
|
|
|

|
|
|
|
### ImageBrowser
|
|
|
|

|
|
|
|
### PreviewSlider
|
|
|
|

|
|
|
|
### CompareSlider
|
|
|
|

|
|
|
|

|
|
|
|
### Growl
|
|
|
|

|
|
|
|
### AnimationPath
|
|
|
|

|
|
|
|
### ProgressBar
|
|
|
|

|
|
|
|
### TabControl
|
|
|
|

|
|
|
|
### TabControlStyle
|
|
|
|

|
|
|
|
### GroupBox
|
|
|
|

|
|
|
|
### StepBar
|
|
|
|

|
|
|
|
### GifImage
|
|
|
|

|
|
|
|
### ContextMenu
|
|
|
|

|
|
|
|
### Calendar
|
|
|
|

|
|
|
|
### Clock
|
|
|
|

|
|
|
|
### CalendarWithClock
|
|
|
|

|
|
|
|
### TextBlock
|
|
|
|

|
|
|
|
### RichTextBoxStyle
|
|
|
|

|
|
|
|
### TextBox
|
|
|
|

|
|
|
|
### ComboBox
|
|
|
|

|
|
|
|
### NumericUpDown
|
|
|
|

|
|
|
|
### SearchBar
|
|
|
|

|
|
|
|
### PasswordBox
|
|
|
|

|
|
|
|
### DataPicker
|
|
|
|

|
|
|
|
### TimePicker
|
|
|
|

|
|
|
|
### DateTimePicker
|
|
|
|

|
|
|
|
### ScrollViewer
|
|
|
|

|
|
|
|
### CirclePanel
|
|
|
|

|
|
|
|
### TransitioningContentControl
|
|
|
|

|
|
|
|
### BorderStyle
|
|
|
|

|
|
|
|
### Brush
|
|
|
|

|
|
|
|
## Switching configuration
|
|
|
|

|