diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..bbb5cda6 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: handycontrol # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d5b0367d..150c58a4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,6 +1,9 @@ --- name: Bug report about: Create a report to help us improve +title: '' +labels: '' +assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 00000000..48d5f81f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,10 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: '' +assignees: '' + +--- + + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..bbcbbe7d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.gitignore b/.gitignore index d51beecc..73a9dc99 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,9 @@ *.user *.xml [Bb]in/ -[Oo]bj/ \ No newline at end of file +[Oo]bj/ +packages/ +build/* +!build/build.cake +!build/build.nuspec +!build/build.ps1 \ No newline at end of file diff --git a/DockBoxResearch/App.xaml b/DockBoxResearch/App.xaml deleted file mode 100644 index ea3bd154..00000000 --- a/DockBoxResearch/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/DockBoxResearch/Controls/DocDockBoxItem.cs b/DockBoxResearch/Controls/DocDockBoxItem.cs deleted file mode 100644 index aa7afa37..00000000 --- a/DockBoxResearch/Controls/DocDockBoxItem.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace DockBoxResearch.Controls -{ - public class DocDockBoxItem : DockBoxItemBase - { - - } -} \ No newline at end of file diff --git a/DockBoxResearch/Controls/DocDockBoxItemPanel.cs b/DockBoxResearch/Controls/DocDockBoxItemPanel.cs deleted file mode 100644 index fb48479c..00000000 --- a/DockBoxResearch/Controls/DocDockBoxItemPanel.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Windows.Controls; - -namespace DockBoxResearch.Controls -{ - public class DocDockBoxItemPanel : Panel - { - - } -} \ No newline at end of file diff --git a/DockBoxResearch/Controls/DockBox.cs b/DockBoxResearch/Controls/DockBox.cs deleted file mode 100644 index 38fd4ab8..00000000 --- a/DockBoxResearch/Controls/DockBox.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Windows.Controls; - -namespace DockBoxResearch.Controls -{ - public class DockBox : Control - { - - } -} \ No newline at end of file diff --git a/DockBoxResearch/Controls/DockBoxItem.cs b/DockBoxResearch/Controls/DockBoxItem.cs deleted file mode 100644 index 489ad3a4..00000000 --- a/DockBoxResearch/Controls/DockBoxItem.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace DockBoxResearch.Controls -{ - public class DockBoxItem : DockBoxItemBase - { - - } -} \ No newline at end of file diff --git a/DockBoxResearch/Controls/DockBoxItemBase.cs b/DockBoxResearch/Controls/DockBoxItemBase.cs deleted file mode 100644 index 6ec22fcb..00000000 --- a/DockBoxResearch/Controls/DockBoxItemBase.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Windows.Controls; - -namespace DockBoxResearch.Controls -{ - public class DockBoxItemBase : Control - { - - } -} \ No newline at end of file diff --git a/DockBoxResearch/Controls/DockBoxItemPanel.cs b/DockBoxResearch/Controls/DockBoxItemPanel.cs deleted file mode 100644 index db34c077..00000000 --- a/DockBoxResearch/Controls/DockBoxItemPanel.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Windows.Controls; - -namespace DockBoxResearch.Controls -{ - public class DockBoxItemPanel : Panel - { - - } -} \ No newline at end of file diff --git a/DockBoxResearch/MainWindow.xaml b/DockBoxResearch/MainWindow.xaml deleted file mode 100644 index e9779428..00000000 --- a/DockBoxResearch/MainWindow.xaml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/Installers/VS2019/HandyControl_VS2019.sln b/Installers/VS2019/HandyControl_VS2019.sln index 6e2908e9..2c1629ff 100644 --- a/Installers/VS2019/HandyControl_VS2019.sln +++ b/Installers/VS2019/HandyControl_VS2019.sln @@ -5,6 +5,10 @@ VisualStudioVersion = 16.0.28803.352 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandyControl_VS2019", "HandyControl_VS2019\HandyControl_VS2019.csproj", "{3F0F7B9E-C150-4FAA-9274-4F6F0A96B8CA}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp", "WpfApp\WpfApp.csproj", "{83C70EB1-3A3F-4812-B86C-C7D1936699EB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfCoreApp", "WpfCoreApp\WpfCoreApp.csproj", "{2F6E9FB8-F579-40CF-A151-57F281F08E1B}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +19,14 @@ Global {3F0F7B9E-C150-4FAA-9274-4F6F0A96B8CA}.Debug|Any CPU.Build.0 = Debug|Any CPU {3F0F7B9E-C150-4FAA-9274-4F6F0A96B8CA}.Release|Any CPU.ActiveCfg = Release|Any CPU {3F0F7B9E-C150-4FAA-9274-4F6F0A96B8CA}.Release|Any CPU.Build.0 = Release|Any CPU + {83C70EB1-3A3F-4812-B86C-C7D1936699EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83C70EB1-3A3F-4812-B86C-C7D1936699EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83C70EB1-3A3F-4812-B86C-C7D1936699EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83C70EB1-3A3F-4812-B86C-C7D1936699EB}.Release|Any CPU.Build.0 = Release|Any CPU + {2F6E9FB8-F579-40CF-A151-57F281F08E1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2F6E9FB8-F579-40CF-A151-57F281F08E1B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2F6E9FB8-F579-40CF-A151-57F281F08E1B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2F6E9FB8-F579-40CF-A151-57F281F08E1B}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Installers/VS2019/HandyControl_VS2019/HandyControl_VS2019.csproj b/Installers/VS2019/HandyControl_VS2019/HandyControl_VS2019.csproj index a652ad34..ba720bad 100644 --- a/Installers/VS2019/HandyControl_VS2019/HandyControl_VS2019.csproj +++ b/Installers/VS2019/HandyControl_VS2019/HandyControl_VS2019.csproj @@ -49,18 +49,6 @@ - - Always - true - - - Always - true - - - Always - true - Designer @@ -86,7 +74,22 @@ Always - + + + {83C70EB1-3A3F-4812-B86C-C7D1936699EB} + WpfApp + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {2F6E9FB8-F579-40CF-A151-57F281F08E1B} + WpfCoreApp + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + \ No newline at end of file diff --git a/Installers/VS2019/WpfCoreApp/WpfCoreApp.vstemplate b/Installers/VS2019/WpfCoreApp/WpfCoreApp.vstemplate new file mode 100644 index 00000000..532eaeaf --- /dev/null +++ b/Installers/VS2019/WpfCoreApp/WpfCoreApp.vstemplate @@ -0,0 +1,27 @@ + + + + HandyControl WPF App(.NET Core) + Creates a HandyControl WPF App(.NET Core) + icon.ico + CSharp + true + HandyControlProject + true + csharp + windows + desktop + HandyControl + Enabled + true + true + + + + App.xaml + App.xaml.cs + MainWindow.xaml + MainWindow.xaml.cs + + + \ No newline at end of file diff --git a/Installers/VS2019/WpfCoreApp/icon.ico b/Installers/VS2019/WpfCoreApp/icon.ico new file mode 100644 index 00000000..719edf88 Binary files /dev/null and b/Installers/VS2019/WpfCoreApp/icon.ico differ diff --git a/LICENSE b/LICENSE index f9f0dead..3d3d568c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2019 HandyOrg +Copyright (c) 2018-2020 HandyOrg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 5c454e93..2faaf251 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,66 @@ -![logo](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/icon.png) +![logo](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/icon.png) -![dotnet-version](https://img.shields.io/badge/.net-%3E%3D4.0-blue.svg) ![csharp-version](https://img.shields.io/badge/C%23-7.3-blue.svg) ![IDE-version](https://img.shields.io/badge/IDE-vs2019-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/handyorg/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) -[![wiki](https://img.shields.io/badge/wiki-Complete-brightgreen.svg)](https://github.com/ghost1372/HandyControl/wiki) ![repo-size](https://img.shields.io/github/repo-size/handyorg/handycontrol.svg) +![dotnet-version](https://img.shields.io/badge/.net-%3E%3D4.0-blue.svg) ![csharp-version](https://img.shields.io/badge/C%23-8.0-blue.svg) ![IDE-version](https://img.shields.io/badge/IDE-vs2019-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/handyorg/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) [![wiki](https://img.shields.io/badge/wiki-Complete-brightgreen.svg)](https://github.com/ghost1372/HandyControl/wiki) [![Nuget](https://img.shields.io/nuget/dt/handycontrol)](https://www.nuget.org/packages/HandyControl) # Welcome to HandyControl -## We're all here - -![qq-group](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/qq-group.png) - ## 面向中国 -### 中文文档(刚开始写) +### 加入讨论 + +| | 1群 (已满) | 2群 | +|-|:-:|:-:| +| 群号码 | [![qq-group](https://img.shields.io/badge/qq-714704041-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=a571e5553c9d41e49c4f22f3a8b2865451497a795ff281fedf3285def247efc1) | [![qq-group](https://img.shields.io/badge/qq-858784803-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=5c18622a0f6ee07a6f33afa8cdb85b1f72ea50e878271dfcec919c76b55afee7) | +| 二维码 | ![qq-group](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/qq_group_1.png) | ![qq-group](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/qq_group_2.png) | + +### 中文文档 [https://handyorg.github.io/handycontrol/](https://handyorg.github.io/handycontrol/) -### 捐赠 -如果您觉得HandyControl还不错,并且刚好有些闲钱,那么可以选择以下两种方式来捐赠: +### 赞助 +如果您觉得HandyControl还不错,并且刚好有些闲钱,那么可以选择以下两种方式来赞助: * [以HandyControl的名义为慈善事业做贡献](http://www.chinacharityfederation.org/ConfirmDonation/0.html?zhijie=3) * 为我们购买防脱洗发水 -![qrcode](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/qrcode.png) +![qrcode](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/qrcode.png) + +## Contributors + + + + + + + + + + + + +## Backers + + + + + + + + + + + + + + ## Special thanks to -[![JetBrains](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/resharper_logo.png)](https://www.jetbrains.com/?from=HandyControl) +[![Visual Studio Community 2019](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/vs2019_logo.png)](https://visualstudio.microsoft.com/free-developer-offers/) +[![JetBrains](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/resharper_logo.png)](https://www.jetbrains.com/?from=HandyControl) +[![Cake](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/cake_logo.png)](https://cakebuild.net/) +[![AppVeyor](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/appveyor_logo.png)](https://www.appveyor.com/) +[![Gitter](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/gitter_logo.png)](https://gitter.im/) ## Usage @@ -57,310 +92,374 @@ Step 4:enjoy coding ## Overview -![Overview](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Overview.png) +![Overview](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Overview.png) -![Overview-dark](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Overview-dark.png) +![Overview-dark](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Overview-dark.png) ## Latest examples -### ImageBlock +### Screenshot -![ImageBlock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ImageBlock.gif) +![Screenshot](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Screenshot.png) -![ImageBlock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ImageBlock.png) +### GooeyEffect -### Magnifier +![GooeyEffect](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GooeyEffect.gif) -![Magnifier](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Magnifier.png) +### GlowWindow -### Card +![GlowWindow](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GlowWindow.png) -![Card](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Card.png) +### FlowDocumentScrollViewerStyle -### ButtonGroup +![FlowDocumentScrollViewerStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/FlowDocumentScrollViewer.png) -![ButtonGroup](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ButtonGroup.png) +### PinBox + +![PinBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/PinBox.png) ## History publication +### Effects + +![Effects](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Effects.png) + +### RelativePanel + +![RelativePanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/RelativePanel.png) + +### Drawer + +![Drawer](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Drawer.gif) + +### Poptip + +![Poptip](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Poptip.gif) + +### Divider + +![Divider](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Divider.png) + +### GeometryAnimation + +![GeometryAnimation](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GeometryAnimation.gif) + +### SplitButton + +![SplitButton](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/SplitButton.png) + +### FloatingBlock + +![FloatingBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/FloatingBlock.gif) + +### HoneycombPanel + +![HoneycombPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/HoneycombPanel.png) + +### RunningBlock + +![RunningBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/RunningBlock.gif) + +### ImageBlock + +![ImageBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ImageBlock.gif) + +![ImageBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ImageBlock.png) + +### Magnifier + +![Magnifier](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Magnifier.png) + +### Card + +![Card](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Card.png) + +### ButtonGroup + +![ButtonGroup](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ButtonGroup.png) + ### Grid -![Grid](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Grid.gif) +![Grid](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Grid.gif) ### SideMenu -![SideMenu](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SideMenu.png) +![SideMenu](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/SideMenu.png) ### NotifyIcon -![NotifyIcon](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/NotifyIcon.png) +![NotifyIcon](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/NotifyIcon.png) ### Dialog -![Dialog](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Dialog.png) +![Dialog](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Dialog.png) ### WaveProgressBar -![WaveProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/WaveProgressBar.gif) +![WaveProgressBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/WaveProgressBar.gif) ### Badge -![Badge](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Badge.png) +![Badge](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Badge.png) ### Gravatar -![Gravatar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Gravatar.gif) +![Gravatar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Gravatar.gif) ### GoToTop -![GoToTop](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GoToTop.gif) +![GoToTop](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GoToTop.gif) ### ChatBubble -![ChatBubble](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ChatBubble.png) +![ChatBubble](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ChatBubble.png) ### Label -![Label](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Label.png) +![Label](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Label.png) ### Transfer -![Transfer](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Transfer.png) +![Transfer](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Transfer.png) ### ProgressButton -![ProgressButton](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressButton.png) +![ProgressButton](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ProgressButton.png) ### CoverFlow -![CoverFlow](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CoverFlow.gif) +![CoverFlow](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CoverFlow.gif) ### CoverView -![CoverView](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CoverView.gif) +![CoverView](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CoverView.gif) ### MessageBox -![MessageBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/MessageBox.png) +![MessageBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/MessageBox.png) ### WaterfallPanel -![WaterfallPanel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/WaterfallPanel.png) +![WaterfallPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/WaterfallPanel.png) ### Rate -![Rate](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Rate.png) +![Rate](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Rate.png) ### BlurWindow -![BlurWindow](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/BlurWindow.png) +![BlurWindow](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/BlurWindow.png) ### FlipClock -![FlipClock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/FlipClock.gif) +![FlipClock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/FlipClock.gif) ### Shield -![Shield](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Shield.png) +![Shield](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Shield.png) ### OutlineText -![OutlineText](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/OutlineText.png) +![OutlineText](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/OutlineText.png) ### Tag -![Tag](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Tag.png) +![Tag](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Tag.png) ### ToolBar -![ToolBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ToolBar.png) +![ToolBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ToolBar.png) ### Slider -![Slider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Slider.png) +![Slider](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Slider.png) ### CircleProgressBar -![CircleProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CircleProgressBar.png) +![CircleProgressBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CircleProgressBar.png) ### ButtonStyle -![ButtonStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Button.png) +![ButtonStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Button.png) ### ToggleButtonStyle -![ToggleButtonStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ToggleButton.png) +![ToggleButtonStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ToggleButton.png) ### RadioButtonStyle -![RadioButtonStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/RadioButton.png) +![RadioButtonStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/RadioButton.png) ### CheckBoxStyle -![CheckBoxStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CheckBox.png) +![CheckBoxStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CheckBox.png) ### ListBoxStyle -![ListBoxStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ListBox.png) +![ListBoxStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ListBox.png) ### TreeViewStyle -![TreeViewStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TreeView.png) +![TreeViewStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TreeView.png) ### ListViewStyle -![ListViewStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ListView.png) +![ListViewStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ListView.png) ### DataGrid -![DataGrid](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DataGrid.png) +![DataGrid](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/DataGrid.png) ### Now you can switch to dark theme -![dark theme](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DarkTheme.png) +![dark theme](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/DarkTheme.png) ### ColorPicker -![ColorPicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ColorPicker.gif) +![ColorPicker](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ColorPicker.gif) ### Loading -![Loading](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Loading.gif) +![Loading](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Loading.gif) ### Carousel -![Carousel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Carousel.gif) +![Carousel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Carousel.gif) ### Pagination -![Pagination](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Pagination.gif) +![Pagination](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Pagination.gif) ### Expander -![Expander](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Expander.gif) +![Expander](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Expander.gif) ### TimeBar -![TimeBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimeBar.gif) +![TimeBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TimeBar.gif) ### ImageBrowser -![ImageBrowser](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ImageBrowser.gif) +![ImageBrowser](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ImageBrowser.gif) ### PreviewSlider -![PreviewSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/PreviewSlider.gif) +![PreviewSlider](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/PreviewSlider.gif) ### CompareSlider -![CompareSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-h.gif) +![CompareSlider](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CompareSlider-h.gif) -![CompareSlider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-v.gif) +![CompareSlider](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CompareSlider-v.gif) ### Growl -![Growl](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Growl.gif) +![Growl](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Growl.gif) ### AnimationPath -![AnimationPath](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/AnimationPath.gif) +![AnimationPath](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/AnimationPath.gif) ### ProgressBar -![ProgressBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressBar.gif) +![ProgressBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ProgressBar.gif) ### TabControl -![TabControl](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.gif) +![TabControl](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TabControl.gif) ### TabControlStyle -![TabControlStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.png) +![TabControlStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TabControl.png) ### GroupBox -![GroupBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GroupBox.png) +![GroupBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GroupBox.png) ### StepBar -![StepBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/StepBar.png) +![StepBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/StepBar.png) ### GifImage -![GifImage](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GifImage.gif) +![GifImage](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GifImage.gif) ### ContextMenu -![ContextMenu](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ContextMenu.png) +![ContextMenu](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ContextMenu.png) ### Calendar -![Calendar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Calendar.jpg) +![Calendar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Calendar.jpg) ### Clock -![Clock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Clock.jpg) +![Clock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Clock.jpg) ### CalendarWithClock -![CalendarWithClock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CalendarWithClock.png) +![CalendarWithClock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CalendarWithClock.png) ### TextBlock -![TextBlock](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TextBlock.jpg) +![TextBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TextBlock.jpg) ### RichTextBoxStyle -![RichTextBoxStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/RichTextBox.png) +![RichTextBoxStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/RichTextBox.png) ### TextBox -![TextBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TextBox.jpg) +![TextBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TextBox.jpg) ### ComboBox -![ComboBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ComboBox.jpg) +![ComboBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ComboBox.jpg) ### NumericUpDown -![NumericUpDown](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/NumericUpDown.png) +![NumericUpDown](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/NumericUpDown.png) ### SearchBar -![SearchBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SearchBar.png) +![SearchBar](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/SearchBar.png) ### PasswordBox -![PasswordBox](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/PasswordBox.jpg) +![PasswordBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/PasswordBox.jpg) ### DataPicker -![DataPicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DataPicker.jpg) +![DataPicker](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/DataPicker.jpg) ### TimePicker -![TimePicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimePicker.jpg) +![TimePicker](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TimePicker.jpg) ### DateTimePicker -![DateTimePicker](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DateTimePicker.png) +![DateTimePicker](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/DateTimePicker.png) ### ScrollViewer -![ScrollViewer](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ScrollViewer.png) +![ScrollViewer](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ScrollViewer.png) ### CirclePanel -![CirclePanel](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CirclePanel.jpg) +![CirclePanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/CirclePanel.jpg) + +### TransitioningContentControl + +![TransitioningContentControl](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/TransitioningContentControl.gif) ### BorderStyle -![BorderStyle](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Border.png) +![BorderStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Border.png) ### Brush -![Brush](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Brush.png) +![Brush](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Brush.png) ## Switching configuration -![Switching configuration](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SwitchConfig.png) +![Switching configuration](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/SwitchConfig.png) diff --git a/Resources/AnimationPath.gif b/Resources/AnimationPath.gif deleted file mode 100644 index d58704cf..00000000 Binary files a/Resources/AnimationPath.gif and /dev/null differ diff --git a/Resources/Badge.png b/Resources/Badge.png deleted file mode 100644 index 2b015d45..00000000 Binary files a/Resources/Badge.png and /dev/null differ diff --git a/Resources/BlurWindow.png b/Resources/BlurWindow.png deleted file mode 100644 index 821cd44d..00000000 Binary files a/Resources/BlurWindow.png and /dev/null differ diff --git a/Resources/Border.png b/Resources/Border.png deleted file mode 100644 index 847ec85e..00000000 Binary files a/Resources/Border.png and /dev/null differ diff --git a/Resources/Brush.png b/Resources/Brush.png deleted file mode 100644 index 2cfb9b6f..00000000 Binary files a/Resources/Brush.png and /dev/null differ diff --git a/Resources/Button.png b/Resources/Button.png deleted file mode 100644 index 4c35b08f..00000000 Binary files a/Resources/Button.png and /dev/null differ diff --git a/Resources/ButtonGroup.png b/Resources/ButtonGroup.png deleted file mode 100644 index 25041947..00000000 Binary files a/Resources/ButtonGroup.png and /dev/null differ diff --git a/Resources/Calendar.jpg b/Resources/Calendar.jpg deleted file mode 100644 index 4f0648aa..00000000 Binary files a/Resources/Calendar.jpg and /dev/null differ diff --git a/Resources/CalendarWithClock.png b/Resources/CalendarWithClock.png deleted file mode 100644 index 01f6832f..00000000 Binary files a/Resources/CalendarWithClock.png and /dev/null differ diff --git a/Resources/Card.png b/Resources/Card.png deleted file mode 100644 index df4358b2..00000000 Binary files a/Resources/Card.png and /dev/null differ diff --git a/Resources/Carousel.gif b/Resources/Carousel.gif deleted file mode 100644 index 00d30c61..00000000 Binary files a/Resources/Carousel.gif and /dev/null differ diff --git a/Resources/ChatBubble.png b/Resources/ChatBubble.png deleted file mode 100644 index f65a021f..00000000 Binary files a/Resources/ChatBubble.png and /dev/null differ diff --git a/Resources/CheckBox.png b/Resources/CheckBox.png deleted file mode 100644 index eb409317..00000000 Binary files a/Resources/CheckBox.png and /dev/null differ diff --git a/Resources/CirclePanel.jpg b/Resources/CirclePanel.jpg deleted file mode 100644 index d8e8a261..00000000 Binary files a/Resources/CirclePanel.jpg and /dev/null differ diff --git a/Resources/CircleProgressBar.png b/Resources/CircleProgressBar.png deleted file mode 100644 index 4de90d35..00000000 Binary files a/Resources/CircleProgressBar.png and /dev/null differ diff --git a/Resources/Clock.jpg b/Resources/Clock.jpg deleted file mode 100644 index eb8862cf..00000000 Binary files a/Resources/Clock.jpg and /dev/null differ diff --git a/Resources/ColorPicker.gif b/Resources/ColorPicker.gif deleted file mode 100644 index 63ef07e5..00000000 Binary files a/Resources/ColorPicker.gif and /dev/null differ diff --git a/Resources/ComboBox.jpg b/Resources/ComboBox.jpg deleted file mode 100644 index 3e8b72db..00000000 Binary files a/Resources/ComboBox.jpg and /dev/null differ diff --git a/Resources/CompareSlider-h.gif b/Resources/CompareSlider-h.gif deleted file mode 100644 index 9f01e150..00000000 Binary files a/Resources/CompareSlider-h.gif and /dev/null differ diff --git a/Resources/CompareSlider-v.gif b/Resources/CompareSlider-v.gif deleted file mode 100644 index 0ac49668..00000000 Binary files a/Resources/CompareSlider-v.gif and /dev/null differ diff --git a/Resources/ContextMenu.png b/Resources/ContextMenu.png deleted file mode 100644 index 4afeeb86..00000000 Binary files a/Resources/ContextMenu.png and /dev/null differ diff --git a/Resources/CoverFlow.gif b/Resources/CoverFlow.gif deleted file mode 100644 index 68045629..00000000 Binary files a/Resources/CoverFlow.gif and /dev/null differ diff --git a/Resources/CoverView.gif b/Resources/CoverView.gif deleted file mode 100644 index bebb0e05..00000000 Binary files a/Resources/CoverView.gif and /dev/null differ diff --git a/Resources/DarkTheme.png b/Resources/DarkTheme.png deleted file mode 100644 index b4b04669..00000000 Binary files a/Resources/DarkTheme.png and /dev/null differ diff --git a/Resources/DataGrid.png b/Resources/DataGrid.png deleted file mode 100644 index 9f0cc8a0..00000000 Binary files a/Resources/DataGrid.png and /dev/null differ diff --git a/Resources/DataPicker.jpg b/Resources/DataPicker.jpg deleted file mode 100644 index 864385a0..00000000 Binary files a/Resources/DataPicker.jpg and /dev/null differ diff --git a/Resources/DateTimePicker.png b/Resources/DateTimePicker.png deleted file mode 100644 index 1f46c5c8..00000000 Binary files a/Resources/DateTimePicker.png and /dev/null differ diff --git a/Resources/Dialog.png b/Resources/Dialog.png deleted file mode 100644 index 8bfcd737..00000000 Binary files a/Resources/Dialog.png and /dev/null differ diff --git a/Resources/Expander.gif b/Resources/Expander.gif deleted file mode 100644 index 8d0266d5..00000000 Binary files a/Resources/Expander.gif and /dev/null differ diff --git a/Resources/FlipClock.gif b/Resources/FlipClock.gif deleted file mode 100644 index f685d7e7..00000000 Binary files a/Resources/FlipClock.gif and /dev/null differ diff --git a/Resources/GifImage.gif b/Resources/GifImage.gif deleted file mode 100644 index e883a221..00000000 Binary files a/Resources/GifImage.gif and /dev/null differ diff --git a/Resources/GoToTop.gif b/Resources/GoToTop.gif deleted file mode 100644 index 85d3ca8a..00000000 Binary files a/Resources/GoToTop.gif and /dev/null differ diff --git a/Resources/Gravatar.gif b/Resources/Gravatar.gif deleted file mode 100644 index efb9e671..00000000 Binary files a/Resources/Gravatar.gif and /dev/null differ diff --git a/Resources/Grid.gif b/Resources/Grid.gif deleted file mode 100644 index 9041b842..00000000 Binary files a/Resources/Grid.gif and /dev/null differ diff --git a/Resources/GroupBox.png b/Resources/GroupBox.png deleted file mode 100644 index aa93b7c4..00000000 Binary files a/Resources/GroupBox.png and /dev/null differ diff --git a/Resources/Growl.gif b/Resources/Growl.gif deleted file mode 100644 index 22faeb20..00000000 Binary files a/Resources/Growl.gif and /dev/null differ diff --git a/Resources/ImageBlock.gif b/Resources/ImageBlock.gif deleted file mode 100644 index d64e99d5..00000000 Binary files a/Resources/ImageBlock.gif and /dev/null differ diff --git a/Resources/ImageBlock.png b/Resources/ImageBlock.png deleted file mode 100644 index 4157f8a2..00000000 Binary files a/Resources/ImageBlock.png and /dev/null differ diff --git a/Resources/ImageBrowser.gif b/Resources/ImageBrowser.gif deleted file mode 100644 index 41dbfcca..00000000 Binary files a/Resources/ImageBrowser.gif and /dev/null differ diff --git a/Resources/Label.png b/Resources/Label.png deleted file mode 100644 index abd87bf7..00000000 Binary files a/Resources/Label.png and /dev/null differ diff --git a/Resources/ListBox.png b/Resources/ListBox.png deleted file mode 100644 index 57645014..00000000 Binary files a/Resources/ListBox.png and /dev/null differ diff --git a/Resources/ListView.png b/Resources/ListView.png deleted file mode 100644 index 40926958..00000000 Binary files a/Resources/ListView.png and /dev/null differ diff --git a/Resources/Loading.gif b/Resources/Loading.gif deleted file mode 100644 index b3916949..00000000 Binary files a/Resources/Loading.gif and /dev/null differ diff --git a/Resources/Magnifier.png b/Resources/Magnifier.png deleted file mode 100644 index 929ae0c9..00000000 Binary files a/Resources/Magnifier.png and /dev/null differ diff --git a/Resources/MessageBox.png b/Resources/MessageBox.png deleted file mode 100644 index cf91e8d2..00000000 Binary files a/Resources/MessageBox.png and /dev/null differ diff --git a/Resources/NotifyIcon.png b/Resources/NotifyIcon.png deleted file mode 100644 index 1866c00e..00000000 Binary files a/Resources/NotifyIcon.png and /dev/null differ diff --git a/Resources/NumericUpDown.png b/Resources/NumericUpDown.png deleted file mode 100644 index bdf740fb..00000000 Binary files a/Resources/NumericUpDown.png and /dev/null differ diff --git a/Resources/OutlineText.png b/Resources/OutlineText.png deleted file mode 100644 index 3f5ec7e1..00000000 Binary files a/Resources/OutlineText.png and /dev/null differ diff --git a/Resources/Overview-dark.png b/Resources/Overview-dark.png deleted file mode 100644 index ded33060..00000000 Binary files a/Resources/Overview-dark.png and /dev/null differ diff --git a/Resources/Overview.png b/Resources/Overview.png deleted file mode 100644 index d0211362..00000000 Binary files a/Resources/Overview.png and /dev/null differ diff --git a/Resources/Pagination.gif b/Resources/Pagination.gif deleted file mode 100644 index 130af623..00000000 Binary files a/Resources/Pagination.gif and /dev/null differ diff --git a/Resources/PasswordBox.jpg b/Resources/PasswordBox.jpg deleted file mode 100644 index 4c428068..00000000 Binary files a/Resources/PasswordBox.jpg and /dev/null differ diff --git a/Resources/PreviewSlider.gif b/Resources/PreviewSlider.gif deleted file mode 100644 index 270876ad..00000000 Binary files a/Resources/PreviewSlider.gif and /dev/null differ diff --git a/Resources/ProgressBar.gif b/Resources/ProgressBar.gif deleted file mode 100644 index 7ba12022..00000000 Binary files a/Resources/ProgressBar.gif and /dev/null differ diff --git a/Resources/ProgressButton.png b/Resources/ProgressButton.png deleted file mode 100644 index 9af0542d..00000000 Binary files a/Resources/ProgressButton.png and /dev/null differ diff --git a/Resources/RadioButton.png b/Resources/RadioButton.png deleted file mode 100644 index 4f1308e5..00000000 Binary files a/Resources/RadioButton.png and /dev/null differ diff --git a/Resources/Rate.png b/Resources/Rate.png deleted file mode 100644 index 1a1f87ca..00000000 Binary files a/Resources/Rate.png and /dev/null differ diff --git a/Resources/RichTextBox.png b/Resources/RichTextBox.png deleted file mode 100644 index 2c5245d4..00000000 Binary files a/Resources/RichTextBox.png and /dev/null differ diff --git a/Resources/ScrollViewer.png b/Resources/ScrollViewer.png deleted file mode 100644 index 5070ff31..00000000 Binary files a/Resources/ScrollViewer.png and /dev/null differ diff --git a/Resources/SearchBar.png b/Resources/SearchBar.png deleted file mode 100644 index fe90bd4d..00000000 Binary files a/Resources/SearchBar.png and /dev/null differ diff --git a/Resources/Shield.png b/Resources/Shield.png deleted file mode 100644 index 9d77a7eb..00000000 Binary files a/Resources/Shield.png and /dev/null differ diff --git a/Resources/SideMenu.png b/Resources/SideMenu.png deleted file mode 100644 index fc0a655a..00000000 Binary files a/Resources/SideMenu.png and /dev/null differ diff --git a/Resources/Slider.png b/Resources/Slider.png deleted file mode 100644 index 9386eb92..00000000 Binary files a/Resources/Slider.png and /dev/null differ diff --git a/Resources/StepBar.png b/Resources/StepBar.png deleted file mode 100644 index d32b4d9e..00000000 Binary files a/Resources/StepBar.png and /dev/null differ diff --git a/Resources/SwitchConfig.png b/Resources/SwitchConfig.png deleted file mode 100644 index e2430d7d..00000000 Binary files a/Resources/SwitchConfig.png and /dev/null differ diff --git a/Resources/TabControl.gif b/Resources/TabControl.gif deleted file mode 100644 index d897226e..00000000 Binary files a/Resources/TabControl.gif and /dev/null differ diff --git a/Resources/TabControl.png b/Resources/TabControl.png deleted file mode 100644 index cfc6e8f9..00000000 Binary files a/Resources/TabControl.png and /dev/null differ diff --git a/Resources/Tag.png b/Resources/Tag.png deleted file mode 100644 index bed402fb..00000000 Binary files a/Resources/Tag.png and /dev/null differ diff --git a/Resources/TextBlock.jpg b/Resources/TextBlock.jpg deleted file mode 100644 index 308fca9c..00000000 Binary files a/Resources/TextBlock.jpg and /dev/null differ diff --git a/Resources/TextBox.jpg b/Resources/TextBox.jpg deleted file mode 100644 index 911925c9..00000000 Binary files a/Resources/TextBox.jpg and /dev/null differ diff --git a/Resources/TimeBar.gif b/Resources/TimeBar.gif deleted file mode 100644 index 0bba8301..00000000 Binary files a/Resources/TimeBar.gif and /dev/null differ diff --git a/Resources/TimePicker.jpg b/Resources/TimePicker.jpg deleted file mode 100644 index 66b4f3ed..00000000 Binary files a/Resources/TimePicker.jpg and /dev/null differ diff --git a/Resources/ToggleButton.png b/Resources/ToggleButton.png deleted file mode 100644 index 8741a375..00000000 Binary files a/Resources/ToggleButton.png and /dev/null differ diff --git a/Resources/ToolBar.png b/Resources/ToolBar.png deleted file mode 100644 index 7e42d323..00000000 Binary files a/Resources/ToolBar.png and /dev/null differ diff --git a/Resources/Transfer.png b/Resources/Transfer.png deleted file mode 100644 index a41ec233..00000000 Binary files a/Resources/Transfer.png and /dev/null differ diff --git a/Resources/TreeView.png b/Resources/TreeView.png deleted file mode 100644 index 37481a9c..00000000 Binary files a/Resources/TreeView.png and /dev/null differ diff --git a/Resources/WaterfallPanel.png b/Resources/WaterfallPanel.png deleted file mode 100644 index 3448f06e..00000000 Binary files a/Resources/WaterfallPanel.png and /dev/null differ diff --git a/Resources/WaveProgressBar.gif b/Resources/WaveProgressBar.gif deleted file mode 100644 index f41db6ce..00000000 Binary files a/Resources/WaveProgressBar.gif and /dev/null differ diff --git a/Resources/icon.png b/Resources/icon.png deleted file mode 100644 index 652eb767..00000000 Binary files a/Resources/icon.png and /dev/null differ diff --git a/Resources/icon.svg b/Resources/icon.svg deleted file mode 100644 index 641f73c0..00000000 --- a/Resources/icon.svg +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Resources/qq-group.png b/Resources/qq-group.png deleted file mode 100644 index e4a34d78..00000000 Binary files a/Resources/qq-group.png and /dev/null differ diff --git a/Resources/qrcode.png b/Resources/qrcode.png deleted file mode 100644 index 72252708..00000000 Binary files a/Resources/qrcode.png and /dev/null differ diff --git a/Resources/resharper_logo.png b/Resources/resharper_logo.png deleted file mode 100644 index 1c1dec6d..00000000 Binary files a/Resources/resharper_logo.png and /dev/null differ diff --git a/build/build.cake b/build/build.cake new file mode 100644 index 00000000..7538862b --- /dev/null +++ b/build/build.cake @@ -0,0 +1,70 @@ +var target = Argument("target", "Build"); + +Task("Clean") + .Does(() => +{ + CleanDirectory("lib"); +}); + +Task("Build") + .IsDependentOn("Clean") + .Does(() => +{ + var vsLatest = VSWhereLatest(); + var msBuildPath = vsLatest?.CombineWithFilePath("./MSBuild/Current/Bin/MSBuild.exe"); + NuGetRestore("../src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj"); + + var settingsNet40 = new MSBuildSettings + { + Configuration = "Release", + ToolPath = msBuildPath, + }.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net40")).FullPath); + + var settingsNet45 = new MSBuildSettings + { + Configuration = "Release-Net45", + ToolPath = msBuildPath, + }.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net45")).FullPath); + + var settingsNet462 = new MSBuildSettings + { + Configuration = "Release-Net462", + ToolPath = msBuildPath, + }.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net462")).FullPath); + + var settingsNet47 = new MSBuildSettings + { + Configuration = "Release-Net47", + ToolPath = msBuildPath, + }.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net47")).FullPath); + + var settingsNet48 = new MSBuildSettings + { + Configuration = "Release-Net48", + ToolPath = msBuildPath, + }.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net48")).FullPath); + + var settingsCore30 = new DotNetCoreBuildSettings + { + Framework = "netcoreapp3.0", + Configuration = "Release-Core30", + OutputDirectory = "lib/netcoreapp3.0" + }; + + var settingsCore31 = new DotNetCoreBuildSettings + { + Framework = "netcoreapp3.1", + Configuration = "Release-Core31", + OutputDirectory = "lib/netcoreapp3.1" + }; + + MSBuild("../src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj", settingsNet40); + MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet45); + MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet462); + MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet47); + MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet48); + DotNetCoreBuild("../src/Core_GE30/HandyControl_Core_GE30/HandyControl_Core_GE30.csproj", settingsCore30); + DotNetCoreBuild("../src/Core_GE30/HandyControl_Core_GE30/HandyControl_Core_GE30.csproj", settingsCore31); +}); + +RunTarget(target); \ No newline at end of file diff --git a/build/build.nuspec b/build/build.nuspec new file mode 100644 index 00000000..f48902dc --- /dev/null +++ b/build/build.nuspec @@ -0,0 +1,70 @@ + + + + HandyControl + 2.4.0 + HandyOrg + HandyOrg + HandyOrg + false + https://github.com/NaBian/HandyControl + https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/icon.png + Contains some commonly used simple WPF controls + Changes are detailed at https://github.com/HandyOrg/HandyControl/releases + Copyright © HandyOrg 2018-2020 + + WPF C# Control + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/build.ps1 b/build/build.ps1 new file mode 100644 index 00000000..23a48b73 --- /dev/null +++ b/build/build.ps1 @@ -0,0 +1,256 @@ +########################################################################## +# This is the Cake bootstrapper script for PowerShell. +# This file was downloaded from https://github.com/cake-build/resources +# Feel free to change this file to fit your needs. +########################################################################## + +<# + +.SYNOPSIS +This is a Powershell script to bootstrap a Cake build. + +.DESCRIPTION +This Powershell script will download NuGet if missing, restore NuGet tools (including Cake) +and execute your Cake build script with the parameters you provide. + +.PARAMETER Script +The build script to execute. +.PARAMETER Target +The build script target to run. +.PARAMETER Configuration +The build configuration to use. +.PARAMETER Verbosity +Specifies the amount of information to be displayed. +.PARAMETER ShowDescription +Shows description about tasks. +.PARAMETER DryRun +Performs a dry run. +.PARAMETER SkipToolPackageRestore +Skips restoring of packages. +.PARAMETER ScriptArgs +Remaining arguments are added here. + +.LINK +https://cakebuild.net + +#> + +[CmdletBinding()] +Param( + [string]$Script = "build.cake", + [string]$Target, + [string]$Configuration, + [ValidateSet("Quiet", "Minimal", "Normal", "Verbose", "Diagnostic")] + [string]$Verbosity, + [switch]$ShowDescription, + [Alias("WhatIf", "Noop")] + [switch]$DryRun, + [switch]$SkipToolPackageRestore, + [Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)] + [string[]]$ScriptArgs +) + +# Attempt to set highest encryption available for SecurityProtocol. +# PowerShell will not set this by default (until maybe .NET 4.6.x). This +# will typically produce a message for PowerShell v2 (just an info +# message though) +try { + # Set TLS 1.2 (3072), then TLS 1.1 (768), then TLS 1.0 (192), finally SSL 3.0 (48) + # Use integers because the enumeration values for TLS 1.2 and TLS 1.1 won't + # exist in .NET 4.0, even though they are addressable if .NET 4.5+ is + # installed (.NET 4.5 is an in-place upgrade). + # PowerShell Core already has support for TLS 1.2 so we can skip this if running in that. + if (-not $IsCoreCLR) { + [System.Net.ServicePointManager]::SecurityProtocol = 3072 -bor 768 -bor 192 -bor 48 + } + } catch { + Write-Output 'Unable to set PowerShell to use TLS 1.2 and TLS 1.1 due to old .NET Framework installed. If you see underlying connection closed or trust errors, you may need to upgrade to .NET Framework 4.5+ and PowerShell v3' + } + +[Reflection.Assembly]::LoadWithPartialName("System.Security") | Out-Null +function MD5HashFile([string] $filePath) +{ + if ([string]::IsNullOrEmpty($filePath) -or !(Test-Path $filePath -PathType Leaf)) + { + return $null + } + + [System.IO.Stream] $file = $null; + [System.Security.Cryptography.MD5] $md5 = $null; + try + { + $md5 = [System.Security.Cryptography.MD5]::Create() + $file = [System.IO.File]::OpenRead($filePath) + return [System.BitConverter]::ToString($md5.ComputeHash($file)) + } + finally + { + if ($file -ne $null) + { + $file.Dispose() + } + } +} + +function GetProxyEnabledWebClient +{ + $wc = New-Object System.Net.WebClient + $proxy = [System.Net.WebRequest]::GetSystemWebProxy() + $proxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials + $wc.Proxy = $proxy + return $wc +} + +Write-Host "Preparing to run build script..." + +if(!$PSScriptRoot){ + $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent +} + +$TOOLS_DIR = Join-Path $PSScriptRoot "tools" +$ADDINS_DIR = Join-Path $TOOLS_DIR "Addins" +$MODULES_DIR = Join-Path $TOOLS_DIR "Modules" +$NUGET_EXE = Join-Path $TOOLS_DIR "nuget.exe" +$CAKE_EXE = Join-Path $TOOLS_DIR "Cake/Cake.exe" +$NUGET_URL = "https://github.com/HandyOrg/HandyOrgResource/blob/master/Tools/nuget.exe?raw=true" +$PACKAGES_CONFIG = Join-Path $TOOLS_DIR "packages.config" +$PACKAGES_CONFIG_MD5 = Join-Path $TOOLS_DIR "packages.config.md5sum" +$ADDINS_PACKAGES_CONFIG = Join-Path $ADDINS_DIR "packages.config" +$MODULES_PACKAGES_CONFIG = Join-Path $MODULES_DIR "packages.config" + +# Make sure tools folder exists +if ((Test-Path $PSScriptRoot) -and !(Test-Path $TOOLS_DIR)) { + Write-Verbose -Message "Creating tools directory..." + New-Item -Path $TOOLS_DIR -Type Directory | Out-Null +} + +# Make sure that packages.config exist. +if (!(Test-Path $PACKAGES_CONFIG)) { + Write-Verbose -Message "Downloading packages.config..." + try { + $wc = GetProxyEnabledWebClient + $wc.DownloadFile("https://cakebuild.net/download/bootstrapper/packages", $PACKAGES_CONFIG) + } catch { + Throw "Could not download packages.config." + } +} + +# Try find NuGet.exe in path if not exists +if (!(Test-Path $NUGET_EXE)) { + Write-Verbose -Message "Trying to find nuget.exe in PATH..." + $existingPaths = $Env:Path -Split ';' | Where-Object { (![string]::IsNullOrEmpty($_)) -and (Test-Path $_ -PathType Container) } + $NUGET_EXE_IN_PATH = Get-ChildItem -Path $existingPaths -Filter "nuget.exe" | Select -First 1 + if ($NUGET_EXE_IN_PATH -ne $null -and (Test-Path $NUGET_EXE_IN_PATH.FullName)) { + Write-Verbose -Message "Found in PATH at $($NUGET_EXE_IN_PATH.FullName)." + $NUGET_EXE = $NUGET_EXE_IN_PATH.FullName + } +} + +# Try download NuGet.exe if not exists +if (!(Test-Path $NUGET_EXE)) { + Write-Verbose -Message "Downloading NuGet.exe..." + try { + $wc = GetProxyEnabledWebClient + $wc.DownloadFile($NUGET_URL, $NUGET_EXE) + } catch { + Throw "Could not download NuGet.exe." + } +} + +# Save nuget.exe path to environment to be available to child processed +$env:NUGET_EXE = $NUGET_EXE +$env:NUGET_EXE_INVOCATION = if ($IsLinux -or $IsMacOS) { + "mono `"$NUGET_EXE`"" +} else { + "`"$NUGET_EXE`"" +} + +# Restore tools from NuGet? +if(-Not $SkipToolPackageRestore.IsPresent) { + Push-Location + Set-Location $TOOLS_DIR + + # Check for changes in packages.config and remove installed tools if true. + [string] $md5Hash = MD5HashFile $PACKAGES_CONFIG + if((!(Test-Path $PACKAGES_CONFIG_MD5)) -Or + ($md5Hash -ne (Get-Content $PACKAGES_CONFIG_MD5 ))) { + Write-Verbose -Message "Missing or changed package.config hash..." + Get-ChildItem -Exclude packages.config,nuget.exe,Cake.Bakery | + Remove-Item -Recurse -Force + } + + Write-Verbose -Message "Restoring tools from NuGet..." + + $NuGetOutput = Invoke-Expression "& $env:NUGET_EXE_INVOCATION install -ExcludeVersion -OutputDirectory `"$TOOLS_DIR`"" + + if ($LASTEXITCODE -ne 0) { + Throw "An error occurred while restoring NuGet tools." + } + else + { + $md5Hash | Out-File $PACKAGES_CONFIG_MD5 -Encoding "ASCII" + } + Write-Verbose -Message ($NuGetOutput | Out-String) + + Pop-Location +} + +# Restore addins from NuGet +if (Test-Path $ADDINS_PACKAGES_CONFIG) { + Push-Location + Set-Location $ADDINS_DIR + + Write-Verbose -Message "Restoring addins from NuGet..." + $NuGetOutput = Invoke-Expression "& $env:NUGET_EXE_INVOCATION install -ExcludeVersion -OutputDirectory `"$ADDINS_DIR`"" + + if ($LASTEXITCODE -ne 0) { + Throw "An error occurred while restoring NuGet addins." + } + + Write-Verbose -Message ($NuGetOutput | Out-String) + + Pop-Location +} + +# Restore modules from NuGet +if (Test-Path $MODULES_PACKAGES_CONFIG) { + Push-Location + Set-Location $MODULES_DIR + + Write-Verbose -Message "Restoring modules from NuGet..." + $NuGetOutput = Invoke-Expression "& $env:NUGET_EXE_INVOCATION install -ExcludeVersion -OutputDirectory `"$MODULES_DIR`"" + + if ($LASTEXITCODE -ne 0) { + Throw "An error occurred while restoring NuGet modules." + } + + Write-Verbose -Message ($NuGetOutput | Out-String) + + Pop-Location +} + +# Make sure that Cake has been installed. +if (!(Test-Path $CAKE_EXE)) { + Throw "Could not find Cake.exe at $CAKE_EXE" +} + +$CAKE_EXE_INVOCATION = if ($IsLinux -or $IsMacOS) { + "mono `"$CAKE_EXE`"" +} else { + "`"$CAKE_EXE`"" +} + + # Build an array (not a string) of Cake arguments to be joined later +$cakeArguments = @() +if ($Script) { $cakeArguments += "`"$Script`"" } +if ($Target) { $cakeArguments += "-target=`"$Target`"" } +if ($Configuration) { $cakeArguments += "-configuration=$Configuration" } +if ($Verbosity) { $cakeArguments += "-verbosity=$Verbosity" } +if ($ShowDescription) { $cakeArguments += "-showdescription" } +if ($DryRun) { $cakeArguments += "-dryrun" } +$cakeArguments += $ScriptArgs + +# Start Cake +Write-Host "Running build script..." +Invoke-Expression "& $CAKE_EXE_INVOCATION $($cakeArguments -join " ")" +exit $LASTEXITCODE diff --git a/doc/source/_posts/home.md b/doc/source/_posts/home.md index cec7679d..b1667489 100644 --- a/doc/source/_posts/home.md +++ b/doc/source/_posts/home.md @@ -2,14 +2,18 @@ title: 欢迎来到HandyOrg --- +# 关于我们 + HandyOrg的宗旨是为用户提供最简单的API。 -我们一直期待着有更多的同学加入。 +我们一直期待有更多的同学加入。 -我们的入坑要求: +# 入坑要求 - 热爱编码 - 接受目前Handy的代码风格,并尽量遵守 - 项目名必须以Handy为前缀 - 活着 -我们的QQ群:714704041 \ No newline at end of file +# 参与讨论 + +[![qq-group](https://img.shields.io/badge/qq-714704041-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=a571e5553c9d41e49c4f22f3a8b2865451497a795ff281fedf3285def247efc1) [![qq-group](https://img.shields.io/badge/qq-858784803-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=5c18622a0f6ee07a6f33afa8cdb85b1f72ea50e878271dfcec919c76b55afee7) \ No newline at end of file diff --git a/doc/source/handycontrol/attach/backgroundSwitchElement/index.md b/doc/source/handycontrol/attach/backgroundSwitchElement/index.md index 2fa310da..9550dfc7 100644 --- a/doc/source/handycontrol/attach/backgroundSwitchElement/index.md +++ b/doc/source/handycontrol/attach/backgroundSwitchElement/index.md @@ -2,41 +2,43 @@ title: BackgroundSwitchElement 可切换背景的元素 --- -# 准备工作 -添加`HandyControl`命名空间 -{% code %} -xmlns:hc="https://handyorg.github.io/handycontrol" -{% endcode %} +# 属性 -## MouseHoverBackground `鼠标悬浮背景色` +| 名称 | 用途 | +|-|-| +| MouseHoverBackground | 设置鼠标悬浮背景色 | +| MouseDownBackground | 设置鼠标按下背景色 | -该附加属性常用于设置控件在鼠标悬浮时的背景色,在控件的样式或者模板中我们添加如下的触发器代码: +# 使用案例 -{% code %} +## MouseHoverBackground 设置鼠标悬浮背景色 + +在样式或模板中我们添加如下的触发器代码: + +```xml - + -{% endcode %} +``` -随后我们就可以使用该属性了: +前台使用方式: -{% code %} -<目标控件 controls:BackgroundSwitchElement.MouseHoverBackground ="Blue"/> -{% endcode %} +```xml +<目标控件 hc:BackgroundSwitchElement.MouseHoverBackground ="Blue"/> +``` -## MouseDownBackground `鼠标按下背景色` +## MouseDownBackground 设置鼠标按下背景色 -该附加属性常用于设置控件在鼠标按下时的背景色,在控件的样式或者模板中我们添加如下的触发器代码: +在样式或模板中我们添加如下的触发器代码: -{% code %} +```xml - + -{% endcode %} +``` -随后我们就可以使用该属性了: +前台使用方式: -{% code %} -<目标控件 controls:BackgroundSwitchElement.MouseDownBackground ="Yellow"/> -{% endcode %} \ No newline at end of file +```xml +<目标控件 hc:BackgroundSwitchElement.MouseDownBackground ="Yellow"/> +``` \ No newline at end of file diff --git a/doc/source/handycontrol/attach/borderElement/index.md b/doc/source/handycontrol/attach/borderElement/index.md index ca12ad62..1b75a0d4 100644 --- a/doc/source/handycontrol/attach/borderElement/index.md +++ b/doc/source/handycontrol/attach/borderElement/index.md @@ -1,5 +1,31 @@ --- -title: 建设中 +title: BorderElement 具有边框的元素 --- -建设中 \ No newline at end of file +# 属性 + +| 名称 | 用途 | +|-|-| +| CornerRadius | 设置边框圆角值 | +| Circular | 是否呈现为圆形 True为是、False为否 | + +# 使用案例 + +## CornerRadius 设置边框圆角值 + +```xml + + + + + + diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs new file mode 100644 index 00000000..f7cbc776 --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/FloatingBlockDemoCtl.xaml.cs @@ -0,0 +1,10 @@ +namespace HandyControlDemo.UserControl +{ + public partial class FloatingBlockDemoCtl + { + public FloatingBlockDemoCtl() + { + InitializeComponent(); + } + } +} diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml index 6ccca191..6ab499a8 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GotoTopDemoCtl.xaml @@ -5,7 +5,7 @@ Background="{DynamicResource RegionBrush}"> - + diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml index eccc1566..df298e28 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GridDemoCtl.xaml @@ -139,10 +139,10 @@ - + - + diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml index 5d229ef7..3d06771c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/GrowlDemoCtl.xaml @@ -7,16 +7,29 @@ Background="{DynamicResource RegionBrush}"> - - + + + +