diff --git a/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml index e6279918..1619a5a2 100644 --- a/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml +++ b/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml @@ -113,18 +113,12 @@ - - - - - - - - - - - - + + + + + + diff --git a/HandyControlDemo/Service/DataService.cs b/HandyControlDemo/Service/DataService.cs index f6502847..0e88b5a7 100644 --- a/HandyControlDemo/Service/DataService.cs +++ b/HandyControlDemo/Service/DataService.cs @@ -36,7 +36,7 @@ namespace HandyControlDemo.Service Name = $"Name{i}", Type = (DemoType)i, DataList = dataList, - ImgPath = $"/HandyControlDemo;component/Resources/Img/Avatar/avatar{i % 7}.png", + ImgPath = $"/HandyControlDemo;component/Resources/Img/Avatar/avatar{i % 6 + 1}.png", Remark = new string(i.ToString()[0], 10) }; list.Add(model); diff --git a/HandyControlDemo/UserControl/Controls/ProgressBarDemoCtl.xaml b/HandyControlDemo/UserControl/Controls/ProgressBarDemoCtl.xaml index aec4b146..f1955091 100644 --- a/HandyControlDemo/UserControl/Controls/ProgressBarDemoCtl.xaml +++ b/HandyControlDemo/UserControl/Controls/ProgressBarDemoCtl.xaml @@ -16,7 +16,7 @@ - + diff --git a/Net40/HandyControlDemo_Net40/Data/MessageToken.cs b/Net40/HandyControlDemo_Net40/Data/MessageToken.cs index e63c9770..44fa6c82 100644 --- a/Net40/HandyControlDemo_Net40/Data/MessageToken.cs +++ b/Net40/HandyControlDemo_Net40/Data/MessageToken.cs @@ -36,7 +36,7 @@ public static readonly string PreviewSliderDemoCtl = nameof(PreviewSliderDemoCtl); - public static readonly string CircleProgressBarDemoCtl = nameof(CircleProgressBarDemoCtl); + public static readonly string ProgressBarDemoCtl = nameof(ProgressBarDemoCtl); public static readonly string TextBoxDemoCtl = nameof(TextBoxDemoCtl); @@ -84,29 +84,33 @@ public static readonly string GotoTopDemoCtl = nameof(GotoTopDemoCtl); + public static readonly string BadgeDemoCtl = nameof(BadgeDemoCtl); + + public static readonly string GravatarDemoCtl = nameof(GravatarDemoCtl); + public static readonly string ButtonDemoCtl = nameof(ButtonDemoCtl); public static readonly string ToggleButtonDemoCtl = nameof(ToggleButtonDemoCtl); public static readonly string ExpanderDemoCtl = nameof(ExpanderDemoCtl); - public static readonly string ProgressBarDemoCtl = nameof(ProgressBarDemoCtl); + public static readonly string NativeProgressBarDemoCtl = nameof(NativeProgressBarDemoCtl); public static readonly string TabControlDemoCtl = nameof(TabControlDemoCtl); public static readonly string CalendarDemoCtl = nameof(CalendarDemoCtl); - public static readonly string NaiveDatePickerDemoCtl = nameof(NaiveDatePickerDemoCtl); + public static readonly string NativeDatePickerDemoCtl = nameof(NativeDatePickerDemoCtl); - public static readonly string NaiveTextBoxDemoCtl = nameof(NaiveTextBoxDemoCtl); + public static readonly string NativeTextBoxDemoCtl = nameof(NativeTextBoxDemoCtl); public static readonly string TextBlockDemoCtl = nameof(TextBlockDemoCtl); - public static readonly string NaiveComboBoxDemoCtl = nameof(NaiveComboBoxDemoCtl); + public static readonly string NativeComboBoxDemoCtl = nameof(NativeComboBoxDemoCtl); - public static readonly string NaivePasswordBoxDemoCtl = nameof(NaivePasswordBoxDemoCtl); + public static readonly string NativePasswordBoxDemoCtl = nameof(NativePasswordBoxDemoCtl); - public static readonly string NaiveTabControlDemoCtl = nameof(NaiveTabControlDemoCtl); + public static readonly string NativeTabControlDemoCtl = nameof(NativeTabControlDemoCtl); public static readonly string DataGridDemoCtl = nameof(DataGridDemoCtl); @@ -122,7 +126,7 @@ public static readonly string RadioButtonDemoCtl = nameof(RadioButtonDemoCtl); - public static readonly string NaiveScrollViewerDemoCtl = nameof(NaiveScrollViewerDemoCtl); + public static readonly string NativeScrollViewerDemoCtl = nameof(NativeScrollViewerDemoCtl); public static readonly string BrushDemoCtl = nameof(BrushDemoCtl); diff --git a/Net40/HandyControlDemo_Net40/Data/MessageToken.tt b/Net40/HandyControlDemo_Net40/Data/MessageToken.tt index 377d9b64..549a85ed 100644 --- a/Net40/HandyControlDemo_Net40/Data/MessageToken.tt +++ b/Net40/HandyControlDemo_Net40/Data/MessageToken.tt @@ -21,7 +21,7 @@ var controlList = new List "WindowDemoCtl", "ScrollViewerDemoCtl", "PreviewSliderDemoCtl", - "CircleProgressBarDemoCtl", + "ProgressBarDemoCtl", "TextBoxDemoCtl", "ComboBoxDemoCtl", "PasswordBoxDemoCtl", @@ -44,22 +44,24 @@ var controlList = new List "ProgressButtonDemoCtl", "TransferDemoCtl", "ChatBubbleDemoCtl", - "GotoTopDemoCtl" + "GotoTopDemoCtl", + "BadgeDemoCtl", + "GravatarDemoCtl" }; var styleList = new List { "ButtonDemoCtl", "ToggleButtonDemoCtl", "ExpanderDemoCtl", - "ProgressBarDemoCtl", + "NativeProgressBarDemoCtl", "TabControlDemoCtl", "CalendarDemoCtl", - "NaiveDatePickerDemoCtl", - "NaiveTextBoxDemoCtl", + "NativeDatePickerDemoCtl", + "NativeTextBoxDemoCtl", "TextBlockDemoCtl", - "NaiveComboBoxDemoCtl", - "NaivePasswordBoxDemoCtl", - "NaiveTabControlDemoCtl", + "NativeComboBoxDemoCtl", + "NativePasswordBoxDemoCtl", + "NativeTabControlDemoCtl", "DataGridDemoCtl", "CheckBoxDemoCtl", "ListBoxDemoCtl", @@ -67,7 +69,7 @@ var styleList = new List "TreeViewDemoCtl", "BorderDemoCtl", "RadioButtonDemoCtl", - "NaiveScrollViewerDemoCtl", + "NativeScrollViewerDemoCtl", "BrushDemoCtl", "SliderDemoCtl", "GroupBoxDemoCtl", diff --git a/Net40/HandyControlDemo_Net40/HandyControlDemo_Net40.csproj b/Net40/HandyControlDemo_Net40/HandyControlDemo_Net40.csproj index 9eb92b9a..0484b107 100644 --- a/Net40/HandyControlDemo_Net40/HandyControlDemo_Net40.csproj +++ b/Net40/HandyControlDemo_Net40/HandyControlDemo_Net40.csproj @@ -112,6 +112,9 @@ AnimationPathDemoCtl.xaml + + BadgeDemoCtl.xaml + CalendarWithClockDemoCtl.xaml @@ -124,8 +127,8 @@ CirclePanelDemoCtl.xaml - - CircleProgressBarDemoCtl.xaml + + ProgressBarDemoCtl.xaml ClockDemoCtl.xaml @@ -157,6 +160,9 @@ GotoTopDemoCtl.xaml + + GravatarDemoCtl.xaml + OutlineTextDemoCtl.xaml @@ -226,6 +232,9 @@ QQGroupView.xaml + + UnderConstruction.xaml + BorderDemoCtl.xaml @@ -250,14 +259,14 @@ ListViewDemoCtl.xaml - - NaiveComboBoxDemoCtl.xaml + + NativeComboBoxDemoCtl.xaml DataGridDemoCtl.xaml - - NaiveDatePickerDemoCtl.xaml + + NativeDatePickerDemoCtl.xaml ExpanderDemoCtl.xaml @@ -280,17 +289,17 @@ MenuDemoCtl.xaml - - NaiveScrollViewerDemoCtl.xaml + + NativeScrollViewerDemoCtl.xaml - - NaiveTabControlDemoCtl.xaml + + NativeTabControlDemoCtl.xaml - - NaivePasswordBoxDemoCtl.xaml + + NativePasswordBoxDemoCtl.xaml - - ProgressBarDemoCtl.xaml + + NativeProgressBarDemoCtl.xaml TabControlDemoCtl.xaml @@ -307,8 +316,8 @@ TextBlockDemoCtl.xaml - - NaiveTextBoxDemoCtl.xaml + + NativeTextBoxDemoCtl.xaml ToggleButtonDemoCtl.xaml @@ -414,6 +423,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -430,7 +443,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile @@ -474,6 +487,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -566,6 +583,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -598,7 +619,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile @@ -606,7 +627,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile @@ -638,19 +659,19 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile @@ -674,7 +695,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile @@ -732,6 +753,9 @@ TextTemplatingFileGenerator MessageToken.cs + + + @@ -798,7 +822,6 @@ - diff --git a/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.Designer.cs b/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.Designer.cs index cddf738d..073911db 100644 --- a/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.Designer.cs +++ b/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.Designer.cs @@ -87,6 +87,15 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 标记 的本地化字符串。 + /// + public static string Badge { + get { + return ResourceManager.GetString("Badge", resourceCulture); + } + } + /// /// 查找类似 填写基本信息 的本地化字符串。 /// @@ -213,15 +222,6 @@ namespace HandyControlDemo.Properties.Langs { } } - /// - /// 查找类似 圆形进度条 的本地化字符串。 - /// - public static string CircleProgressBar { - get { - return ResourceManager.GetString("CircleProgressBar", resourceCulture); - } - } - /// /// 查找类似 清空 的本地化字符串。 /// @@ -258,6 +258,24 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 敬请期待 的本地化字符串。 + /// + public static string ComingSoon { + get { + return ResourceManager.GetString("ComingSoon", resourceCulture); + } + } + + /// + /// 查找类似 评论 的本地化字符串。 + /// + public static string Comment { + get { + return ResourceManager.GetString("Comment", resourceCulture); + } + } + /// /// 查找类似 一般 的本地化字符串。 /// @@ -447,6 +465,15 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 头像 的本地化字符串。 + /// + public static string Gravatar { + get { + return ResourceManager.GetString("Gravatar", resourceCulture); + } + } + /// /// 查找类似 分组框 的本地化字符串。 /// @@ -888,6 +915,15 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 回复 的本地化字符串。 + /// + public static string Reply { + get { + return ResourceManager.GetString("Reply", resourceCulture); + } + } + /// /// 查找类似 代码仓库 的本地化字符串。 /// diff --git a/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.en.resx b/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.en.resx index 3f57a795..b2bc610b 100644 --- a/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.en.resx +++ b/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.en.resx @@ -387,9 +387,6 @@ Slider - - CircleProgressBar - It's not a phone number @@ -501,4 +498,19 @@ GotoTop + + Badge + + + Gravatar + + + ComingSoon + + + Comment + + + Reply + \ No newline at end of file diff --git a/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.resx b/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.resx index 32ab263a..4bfbd4a1 100644 --- a/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.resx +++ b/Net40/HandyControlDemo_Net40/Properties/Langs/Lang.resx @@ -387,9 +387,6 @@ 滑块 - - 圆形进度条 - 不是手机号码 @@ -501,4 +498,19 @@ 回到顶部 + + 标记 + + + 头像 + + + 敬请期待 + + + 评论 + + + 回复 + \ No newline at end of file diff --git a/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/DotLarge_16x.png b/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/DotLarge_16x.png new file mode 100644 index 00000000..c588ac01 Binary files /dev/null and b/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/DotLarge_16x.png differ diff --git a/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/ShapeArcRing_16x.png b/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/ShapeArcRing_16x.png deleted file mode 100644 index 64f52301..00000000 Binary files a/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/ShapeArcRing_16x.png and /dev/null differ diff --git a/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/User_16x.png b/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/User_16x.png new file mode 100644 index 00000000..391e91e4 Binary files /dev/null and b/Net40/HandyControlDemo_Net40/Resources/Img/LeftMainContent/User_16x.png differ diff --git a/Net40/HandyControlDemo_Net40/Resources/Img/under_construction.gif b/Net40/HandyControlDemo_Net40/Resources/Img/under_construction.gif new file mode 100644 index 00000000..b5efd6d8 Binary files /dev/null and b/Net40/HandyControlDemo_Net40/Resources/Img/under_construction.gif differ diff --git a/Net40/HandyControlDemo_Net40/Service/DataService.cs b/Net40/HandyControlDemo_Net40/Service/DataService.cs index f6502847..0e88b5a7 100644 --- a/Net40/HandyControlDemo_Net40/Service/DataService.cs +++ b/Net40/HandyControlDemo_Net40/Service/DataService.cs @@ -36,7 +36,7 @@ namespace HandyControlDemo.Service Name = $"Name{i}", Type = (DemoType)i, DataList = dataList, - ImgPath = $"/HandyControlDemo;component/Resources/Img/Avatar/avatar{i % 7}.png", + ImgPath = $"/HandyControlDemo;component/Resources/Img/Avatar/avatar{i % 6 + 1}.png", Remark = new string(i.ToString()[0], 10) }; list.Add(model); diff --git a/Net40/HandyControlDemo_Net40/UserControl/Controls/AnimationPathDemoCtl.xaml b/Net40/HandyControlDemo_Net40/UserControl/Controls/AnimationPathDemoCtl.xaml index 378c4c43..f4381a72 100644 --- a/Net40/HandyControlDemo_Net40/UserControl/Controls/AnimationPathDemoCtl.xaml +++ b/Net40/HandyControlDemo_Net40/UserControl/Controls/AnimationPathDemoCtl.xaml @@ -4,6 +4,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"> - + + + - + \ No newline at end of file diff --git a/Net40/HandyControlDemo_Net40/UserControl/Controls/BadgeDemoCtl.xaml b/Net40/HandyControlDemo_Net40/UserControl/Controls/BadgeDemoCtl.xaml new file mode 100644 index 00000000..14053024 --- /dev/null +++ b/Net40/HandyControlDemo_Net40/UserControl/Controls/BadgeDemoCtl.xaml @@ -0,0 +1,26 @@ + + + + +