HandyControl/README.md

100 lines
4.1 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)
2018-09-14 09:58:45 +08:00
![csharp-version](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/csharp-version.png) ![IDE-version](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/IDE-version.png) [![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/NaBian/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)
2018-08-24 15:00:26 +08:00
# 欢迎使用 HandyControl
> HandyControl包含了我在开发过程中觉得wpf原生库中所欠缺的东西现在所有的控件均已编码完毕我会抽空将最为常用的部分一一开源因个人能力和时间精力的原因控件库中难免会留有bug如果你发现了它们请给我提issue谢谢。
让我们开门见山HandyControl已经开源的控件截图有
### 1、颜色拾取器ColorPicker
![颜色拾取器ColorPicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ColorPicker.gif)
### 2、加载条Loading
![加载条Loading](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Loading.gif)
### 3、轮播Carousel
![轮播Carousel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Carousel.gif)
### 4、页码条Pagination
![轮播Pagination](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Pagination.gif)
### 5、展开折叠框Expander
2018-08-24 15:30:21 +08:00
![展开折叠框Expander](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Expander.gif)
### 6、时间条TimeBar
2018-08-27 11:53:14 +08:00
![时间条TimeBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimeBar.gif)
### 7、图片浏览器ImageBrowser
![图片浏览器ImageBrowser](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ImageBrowser.gif)
2018-08-31 19:33:17 +08:00
### 8、对比滑块CompareSlider
2018-09-04 15:42:37 +08:00
2018-08-31 19:33:17 +08:00
![对比滑块CompareSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-h.gif)
![对比滑块CompareSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-v.gif)
2018-09-04 15:42:37 +08:00
### 9、信息通知Growl
![信息通知Growl](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Growl.gif)
### 10、动画路径AnimationPath
![动画路径AnimationPath](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/AnimationPath.gif)
### 11、进度条ProgressBar
![进度条ProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressBar.gif)
2018-09-11 12:00:52 +08:00
### 12、选项卡控件TabControl
![选项卡控件TabControl](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.gif)
2018-09-18 19:22:11 +08:00
### 13、步骤条StepBar
![步骤条StepBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/StepBar.gif)
2018-08-27 11:53:14 +08:00
# 使用方法
第一步添加HandyControl的引用
第二步在App.xaml中按照以下方式添加代码
```XML
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/ThemesDefault.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
```
第三步enjoy coding
2018-09-04 15:42:37 +08:00
# FAQ
* 如何让**Scrollviewer**具有惯性?只要:
2018-08-30 17:48:09 +08:00
```XML
<controls:ScrollViewer IsEnableInertia="True">
<!--你的控件-->
</controls:ScrollViewer>
```
2018-09-04 15:42:37 +08:00
* 如何让**Scrollviewer**具有穿透效果?只要:
2018-08-30 17:48:09 +08:00
```XML
<controls:ScrollViewer IsPenetrating="True">
<!--你的控件-->
</controls:ScrollViewer>
```
2018-09-04 15:42:37 +08:00
* 为什么我连编译都无法通过:
2018-09-11 12:00:52 +08:00
编译之前请确保IDE为vs2017且c#最低版本为7.0,HandyControl目前仅支持4.5以上的.net环境。
2018-09-04 15:42:37 +08:00
# v1.3.0版本计划
2018-08-27 11:53:14 +08:00
2018-09-18 19:22:11 +08:00
1、添加时间、日历控件