From 5abf20c1814c3191362dd90e24970077505fbadb Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 27 Oct 2019 22:46:38 +0800 Subject: [PATCH] add Divider --- README.md | 8 ++- .../UserControl/Controls/DividerDemoCtl.xaml | 44 +++++++++++--- .../HandyControl_Shared/Controls/Grid/Col.cs | 58 +++++++++++-------- .../HandyControl_Shared/Controls/Grid/Row.cs | 2 +- .../Themes/Styles/Base/DividerBaseStyle.xaml | 38 ++++++++++-- 5 files changed, 111 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index d15df9f0..8b23f787 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,10 @@ Step 4:enjoy coding ## Latest examples +### 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) @@ -81,6 +85,8 @@ Step 4:enjoy coding ![HoneycombPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/HoneycombPanel.png) +## History publication + ### RunningBlock ![RunningBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/RunningBlock.gif) @@ -91,8 +97,6 @@ Step 4:enjoy coding ![ImageBlock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/ImageBlock.png) -## History publication - ### Magnifier ![Magnifier](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Magnifier.png) diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml index 5c273b76..37fb29ea 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/DividerDemoCtl.xaml @@ -2,14 +2,42 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:hc="https://handyorg.github.io/handycontrol" - Background="{DynamicResource RegionBrush}"> + Background="{DynamicResource RegionBrush}" + xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"> - - - - - - - + + + + + + + + + + + + +