diff --git a/src/Core_GE30/HandyControlDemo_Core_GE30/HandyControlDemo_Core_GE30.csproj b/src/Core_GE30/HandyControlDemo_Core_GE30/HandyControlDemo_Core_GE30.csproj
index 6687b97f..484c9b1f 100644
--- a/src/Core_GE30/HandyControlDemo_Core_GE30/HandyControlDemo_Core_GE30.csproj
+++ b/src/Core_GE30/HandyControlDemo_Core_GE30/HandyControlDemo_Core_GE30.csproj
@@ -46,11 +46,11 @@
True
MessageToken.tt
-
- Properties\Langs\LangDecorator.cs
+
+ Properties\Langs\LangProvider.cs
True
True
- LangDecorator.tt
+ LangProvider.tt
Properties\Langs\Lang.Designer.cs
@@ -523,10 +523,10 @@
TextTemplatingFileGenerator
MessageToken.cs
-
- Properties\Langs\LangDecorator.tt
+
+ Properties\Langs\LangProvider.tt
TextTemplatingFileGenerator
- LangDecorator.cs
+ LangProvider.cs
diff --git a/src/Core_GE30/HandyControl_Core_GE30/HandyControl_Core_GE30.csproj b/src/Core_GE30/HandyControl_Core_GE30/HandyControl_Core_GE30.csproj
index 7dd3cd6f..c0711c2e 100644
--- a/src/Core_GE30/HandyControl_Core_GE30/HandyControl_Core_GE30.csproj
+++ b/src/Core_GE30/HandyControl_Core_GE30/HandyControl_Core_GE30.csproj
@@ -42,11 +42,11 @@
True
Lang.resx
-
- Properties\Langs\LangDecorator.cs
+
+ Properties\Langs\LangProvider.cs
True
True
- LangDecorator.tt
+ LangProvider.tt
@@ -72,10 +72,10 @@
-
- Properties\Langs\LangDecorator.tt
+
+ Properties\Langs\LangProvider.tt
TextTemplatingFileGenerator
- LangDecorator.cs
+ LangProvider.cs
diff --git a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj
index 00e4b6e6..54c69160 100644
--- a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj
+++ b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj
@@ -75,11 +75,11 @@
True
MessageToken.tt
-
- Properties\Langs\LangDecorator.cs
+
+ Properties\Langs\LangProvider.cs
True
True
- LangDecorator.tt
+ LangProvider.tt
Properties\AssemblyInfo.cs
@@ -452,10 +452,10 @@
TextTemplatingFileGenerator
MessageToken.cs
-
- Properties\Langs\LangDecorator.tt
+
+ Properties\Langs\LangProvider.tt
TextTemplatingFileGenerator
- LangDecorator.cs
+ LangProvider.cs
Resources\Img\LeftMainContent\Effects_16x.png
diff --git a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj
index 3c377f62..51b003d3 100644
--- a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj
+++ b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj
@@ -47,11 +47,11 @@
True
Lang.resx
-
- Properties\Langs\LangDecorator.cs
+
+ Properties\Langs\LangProvider.cs
True
True
- LangDecorator.tt
+ LangProvider.tt
@@ -113,10 +113,10 @@
PublicResXFileCodeGenerator
Lang.Designer.cs
-
- Properties\Langs\LangDecorator.tt
+
+ Properties\Langs\LangProvider.tt
TextTemplatingFileGenerator
- LangDecorator.cs
+ LangProvider.cs
diff --git a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj
index 41bf7d58..9ae40356 100644
--- a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj
+++ b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj
@@ -155,11 +155,11 @@
True
MessageToken.tt
-
- Properties\Langs\LangDecorator.cs
+
+ Properties\Langs\LangProvider.cs
True
True
- LangDecorator.tt
+ LangProvider.tt
Properties\AssemblyInfo.cs
@@ -513,10 +513,10 @@
-
- Properties\Langs\LangDecorator.tt
+
+ Properties\Langs\LangProvider.tt
TextTemplatingFileGenerator
- LangDecorator.cs
+ LangProvider.cs
Data\MessageToken.tt
diff --git a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj
index 1c71886d..3a9c7bb9 100644
--- a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj
+++ b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj
@@ -122,11 +122,11 @@
True
Lang.resx
-
- Properties\Langs\LangDecorator.cs
+
+ Properties\Langs\LangProvider.cs
True
True
- LangDecorator.tt
+ LangProvider.tt
@@ -158,10 +158,10 @@
Lang.Designer.cs
Designer
-
- Properties\Langs\LangDecorator.tt
+
+ Properties\Langs\LangProvider.tt
TextTemplatingFileGenerator
- LangDecorator.cs
+ LangProvider.cs
diff --git a/src/Shared/HandyControlDemo_Shared/App.xaml b/src/Shared/HandyControlDemo_Shared/App.xaml
index 26d9448c..57f9f649 100644
--- a/src/Shared/HandyControlDemo_Shared/App.xaml
+++ b/src/Shared/HandyControlDemo_Shared/App.xaml
@@ -4,42 +4,32 @@
xmlns:viewModel="clr-namespace:HandyControlDemo.ViewModel"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:d1P1="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:data="clr-namespace:HandyControlDemo.Data"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
- xmlns:resources="clr-namespace:HandyControlDemo.Resources"
d1P1:Ignorable="d"
StartupUri="MainWindow.xaml">
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/Shared/HandyControlDemo_Shared/App.xaml.cs b/src/Shared/HandyControlDemo_Shared/App.xaml.cs
index bbc6ac4f..9a85705a 100644
--- a/src/Shared/HandyControlDemo_Shared/App.xaml.cs
+++ b/src/Shared/HandyControlDemo_Shared/App.xaml.cs
@@ -88,8 +88,22 @@ namespace HandyControlDemo
internal void UpdateSkin(SkinType skin)
{
- ResourceHelper.GetTheme("HandyTheme", Resources).Skin = skin;
- ResourceHelper.GetTheme("DemoTheme", Resources).Skin = skin;
+ var skins0 = Resources.MergedDictionaries[0];
+ skins0.MergedDictionaries.Clear();
+ skins0.MergedDictionaries.Add(ResourceHelper.GetSkin(skin));
+ skins0.MergedDictionaries.Add(ResourceHelper.GetSkin(typeof(App).Assembly, "Resources/Themes", skin));
+
+
+ var skins1 = Resources.MergedDictionaries[1];
+ skins1.MergedDictionaries.Clear();
+ skins1.MergedDictionaries.Add(new ResourceDictionary
+ {
+ Source = new Uri("pack://application:,,,/HandyControl;component/Themes/Theme.xaml")
+ });
+ skins1.MergedDictionaries.Add(new ResourceDictionary
+ {
+ Source = new Uri("pack://application:,,,/HandyControlDemo;component/Resources/Themes/Theme.xaml")
+ });
Current.MainWindow?.OnApplyTemplate();
}
diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.cs
index 87250d5c..5dd7cb48 100644
--- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.cs
+++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.cs
@@ -6,9 +6,9 @@ using HandyControl.Tools;
namespace HandyControlDemo.Properties.Langs
{
- public class LangDecorator : INotifyPropertyChanged
+ public class LangProvider : INotifyPropertyChanged
{
- internal static LangDecorator Instance => ResourceHelper.GetResource("DemoLangs");
+ internal static LangProvider Instance => ResourceHelper.GetResource("DemoLangs");
private static string CultureInfoStr;
diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs
new file mode 100644
index 00000000..5dd7cb48
--- /dev/null
+++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs
@@ -0,0 +1,2373 @@
+using System.ComponentModel;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Data;
+using HandyControl.Tools;
+
+namespace HandyControlDemo.Properties.Langs
+{
+ public class LangProvider : INotifyPropertyChanged
+ {
+ internal static LangProvider Instance => ResourceHelper.GetResource("DemoLangs");
+
+ private static string CultureInfoStr;
+
+ public static CultureInfo Culture
+ {
+ get => Lang.Culture;
+ set
+ {
+ if (value == null) return;
+ if (Equals(CultureInfoStr, value.EnglishName)) return;
+ Lang.Culture = value;
+ CultureInfoStr = value.EnglishName;
+
+ Instance.UpdateLangs();
+ }
+ }
+
+ public static string GetLang(string key) => Lang.ResourceManager.GetString(key, Culture);
+
+ public static void SetLang(DependencyObject dependencyObject, DependencyProperty dependencyProperty, string key) =>
+ BindingOperations.SetBinding(dependencyObject, dependencyProperty, new Binding(key)
+ {
+ Source = Instance,
+ Mode = BindingMode.OneWay
+ });
+
+ private void UpdateLangs()
+ {
+ OnPropertyChanged(nameof(About));
+ OnPropertyChanged(nameof(AddItem));
+ OnPropertyChanged(nameof(AnimationPath));
+ OnPropertyChanged(nameof(AppClosingTip));
+ OnPropertyChanged(nameof(Ask));
+ OnPropertyChanged(nameof(Badge));
+ OnPropertyChanged(nameof(BasicInfo));
+ OnPropertyChanged(nameof(BasicLayout));
+ OnPropertyChanged(nameof(Blink));
+ OnPropertyChanged(nameof(Blog));
+ OnPropertyChanged(nameof(Border));
+ OnPropertyChanged(nameof(Brush));
+ OnPropertyChanged(nameof(Button));
+ OnPropertyChanged(nameof(ButtonCustom));
+ OnPropertyChanged(nameof(ButtonGroup));
+ OnPropertyChanged(nameof(Calendar));
+ OnPropertyChanged(nameof(CalendarWithClock));
+ OnPropertyChanged(nameof(Card));
+ OnPropertyChanged(nameof(Carousel));
+ OnPropertyChanged(nameof(ChangeLangAsk));
+ OnPropertyChanged(nameof(ChatBubble));
+ OnPropertyChanged(nameof(Chatroom));
+ OnPropertyChanged(nameof(CheckBox));
+ OnPropertyChanged(nameof(CirclePanel));
+ OnPropertyChanged(nameof(Clear));
+ OnPropertyChanged(nameof(Click2Count));
+ OnPropertyChanged(nameof(Clock));
+ OnPropertyChanged(nameof(ColorPicker));
+ OnPropertyChanged(nameof(ColumnOffset));
+ OnPropertyChanged(nameof(ColumnSpacing));
+ OnPropertyChanged(nameof(ComboBox));
+ OnPropertyChanged(nameof(ComingSoon));
+ OnPropertyChanged(nameof(Comment));
+ OnPropertyChanged(nameof(Common));
+ OnPropertyChanged(nameof(CompareSlider));
+ OnPropertyChanged(nameof(Complete));
+ OnPropertyChanged(nameof(ContentDemoStr));
+ OnPropertyChanged(nameof(Contributors));
+ OnPropertyChanged(nameof(Controls));
+ OnPropertyChanged(nameof(CoverFlow));
+ OnPropertyChanged(nameof(CoverView));
+ OnPropertyChanged(nameof(Danger));
+ OnPropertyChanged(nameof(DataGrid));
+ OnPropertyChanged(nameof(DatePicker));
+ OnPropertyChanged(nameof(DateTimePicker));
+ OnPropertyChanged(nameof(Default));
+ OnPropertyChanged(nameof(Demo));
+ OnPropertyChanged(nameof(Dialog));
+ OnPropertyChanged(nameof(DialogDemo));
+ OnPropertyChanged(nameof(Divider));
+ OnPropertyChanged(nameof(Doc_cn));
+ OnPropertyChanged(nameof(Doc_en));
+ OnPropertyChanged(nameof(Documentation));
+ OnPropertyChanged(nameof(DragHere));
+ OnPropertyChanged(nameof(Drawer));
+ OnPropertyChanged(nameof(Effects));
+ OnPropertyChanged(nameof(Email));
+ OnPropertyChanged(nameof(Error));
+ OnPropertyChanged(nameof(Exit));
+ OnPropertyChanged(nameof(Expander));
+ OnPropertyChanged(nameof(Fatal));
+ OnPropertyChanged(nameof(FlipClock));
+ OnPropertyChanged(nameof(FloatingBlock));
+ OnPropertyChanged(nameof(FlowDocument));
+ OnPropertyChanged(nameof(FlowDocumentPageViewer));
+ OnPropertyChanged(nameof(FlowDocumentReader));
+ OnPropertyChanged(nameof(FlowDocumentScrollViewer));
+ OnPropertyChanged(nameof(Frame));
+ OnPropertyChanged(nameof(GifImage));
+ OnPropertyChanged(nameof(GotoTop));
+ OnPropertyChanged(nameof(Gravatar));
+ OnPropertyChanged(nameof(Grid));
+ OnPropertyChanged(nameof(GroupBox));
+ OnPropertyChanged(nameof(Groups));
+ OnPropertyChanged(nameof(Growl));
+ OnPropertyChanged(nameof(GrowlAsk));
+ OnPropertyChanged(nameof(GrowlDemo));
+ OnPropertyChanged(nameof(GrowlError));
+ OnPropertyChanged(nameof(GrowlFatal));
+ OnPropertyChanged(nameof(GrowlInfo));
+ OnPropertyChanged(nameof(GrowlSuccess));
+ OnPropertyChanged(nameof(GrowlWarning));
+ OnPropertyChanged(nameof(HatchBrushGenerator));
+ OnPropertyChanged(nameof(HoneycombPanel));
+ OnPropertyChanged(nameof(HybridLayout));
+ OnPropertyChanged(nameof(Ignore));
+ OnPropertyChanged(nameof(ImageBlock));
+ OnPropertyChanged(nameof(ImageBrowser));
+ OnPropertyChanged(nameof(Index));
+ OnPropertyChanged(nameof(Info));
+ OnPropertyChanged(nameof(InteractiveDialog));
+ OnPropertyChanged(nameof(IsNotPhone));
+ OnPropertyChanged(nameof(Label));
+ OnPropertyChanged(nameof(LangComment));
+ OnPropertyChanged(nameof(ListBox));
+ OnPropertyChanged(nameof(ListView));
+ OnPropertyChanged(nameof(Loading));
+ OnPropertyChanged(nameof(Magnifier));
+ OnPropertyChanged(nameof(Menu));
+ OnPropertyChanged(nameof(MessageBox));
+ OnPropertyChanged(nameof(Morphing_Animation));
+ OnPropertyChanged(nameof(Name));
+ OnPropertyChanged(nameof(NewWindow));
+ OnPropertyChanged(nameof(Next));
+ OnPropertyChanged(nameof(Notification));
+ OnPropertyChanged(nameof(NotifyIcon));
+ OnPropertyChanged(nameof(NumericUpDown));
+ OnPropertyChanged(nameof(Off));
+ OnPropertyChanged(nameof(Ok));
+ OnPropertyChanged(nameof(On));
+ OnPropertyChanged(nameof(OpenBlurWindow));
+ OnPropertyChanged(nameof(OpenCommonWindow));
+ OnPropertyChanged(nameof(OpenCustomContentWindow));
+ OnPropertyChanged(nameof(OpenCustomMessageWindow));
+ OnPropertyChanged(nameof(OpenCustomNonClientAreaWindow));
+ OnPropertyChanged(nameof(OpenGlowWindow));
+ OnPropertyChanged(nameof(OpenImageBrowser));
+ OnPropertyChanged(nameof(OpenMessageWindow));
+ OnPropertyChanged(nameof(OpenMouseFollowWindow));
+ OnPropertyChanged(nameof(OpenNativeCommonWindow));
+ OnPropertyChanged(nameof(OpenNavigationWindow));
+ OnPropertyChanged(nameof(OpenNoNonClientAreaDragableWindow));
+ OnPropertyChanged(nameof(OpenPanel));
+ OnPropertyChanged(nameof(OpenSprite));
+ OnPropertyChanged(nameof(OutlineText));
+ OnPropertyChanged(nameof(Pagination));
+ OnPropertyChanged(nameof(PasswordBox));
+ OnPropertyChanged(nameof(PinBox));
+ OnPropertyChanged(nameof(PleaseInput));
+ OnPropertyChanged(nameof(PleaseWait));
+ OnPropertyChanged(nameof(PlsEnterContent));
+ OnPropertyChanged(nameof(PlsEnterEmail));
+ OnPropertyChanged(nameof(PlsEnterKey));
+ OnPropertyChanged(nameof(Poptip));
+ OnPropertyChanged(nameof(PoptipPositionStr));
+ OnPropertyChanged(nameof(PracticalDemos));
+ OnPropertyChanged(nameof(Prev));
+ OnPropertyChanged(nameof(PreviewSlider));
+ OnPropertyChanged(nameof(Primary));
+ OnPropertyChanged(nameof(ProgressBar));
+ OnPropertyChanged(nameof(ProgressButton));
+ OnPropertyChanged(nameof(Project));
+ OnPropertyChanged(nameof(PushToTalk));
+ OnPropertyChanged(nameof(QQGroup));
+ OnPropertyChanged(nameof(RadioButton));
+ OnPropertyChanged(nameof(RangeSlider));
+ OnPropertyChanged(nameof(Rate));
+ OnPropertyChanged(nameof(Recommendation));
+ OnPropertyChanged(nameof(Register));
+ OnPropertyChanged(nameof(RelativePanel));
+ OnPropertyChanged(nameof(Remark));
+ OnPropertyChanged(nameof(RemoveItem));
+ OnPropertyChanged(nameof(RepeatButton));
+ OnPropertyChanged(nameof(Reply));
+ OnPropertyChanged(nameof(Repository));
+ OnPropertyChanged(nameof(ResponsiveLayout));
+ OnPropertyChanged(nameof(RichTextBox));
+ OnPropertyChanged(nameof(RightClickHere));
+ OnPropertyChanged(nameof(RunningBlock));
+ OnPropertyChanged(nameof(Screenshot));
+ OnPropertyChanged(nameof(ScrollViewer));
+ OnPropertyChanged(nameof(SearchBar));
+ OnPropertyChanged(nameof(Second));
+ OnPropertyChanged(nameof(Selected));
+ OnPropertyChanged(nameof(SendNotification));
+ OnPropertyChanged(nameof(Shield));
+ OnPropertyChanged(nameof(ShowInCurrentWindow));
+ OnPropertyChanged(nameof(ShowInMainWindow));
+ OnPropertyChanged(nameof(ShowRowNumber));
+ OnPropertyChanged(nameof(SideMenu));
+ OnPropertyChanged(nameof(Slider));
+ OnPropertyChanged(nameof(SplitButton));
+ OnPropertyChanged(nameof(Sprite));
+ OnPropertyChanged(nameof(StartScreenshot));
+ OnPropertyChanged(nameof(StaysOpen));
+ OnPropertyChanged(nameof(Step));
+ OnPropertyChanged(nameof(StepBar));
+ OnPropertyChanged(nameof(Styles));
+ OnPropertyChanged(nameof(SubTitle));
+ OnPropertyChanged(nameof(Success));
+ OnPropertyChanged(nameof(TabControl));
+ OnPropertyChanged(nameof(Tag));
+ OnPropertyChanged(nameof(Text));
+ OnPropertyChanged(nameof(TextBlock));
+ OnPropertyChanged(nameof(TextBox));
+ OnPropertyChanged(nameof(TextDialog));
+ OnPropertyChanged(nameof(TextDialogInControl));
+ OnPropertyChanged(nameof(TextDialogWithTimer));
+ OnPropertyChanged(nameof(TimeBar));
+ OnPropertyChanged(nameof(TimePicker));
+ OnPropertyChanged(nameof(Tip));
+ OnPropertyChanged(nameof(Title));
+ OnPropertyChanged(nameof(TitleDemoStr1));
+ OnPropertyChanged(nameof(TitleDemoStr2));
+ OnPropertyChanged(nameof(TitleDemoStr3));
+ OnPropertyChanged(nameof(ToggleButton));
+ OnPropertyChanged(nameof(ToolBar));
+ OnPropertyChanged(nameof(Tools));
+ OnPropertyChanged(nameof(Transfer));
+ OnPropertyChanged(nameof(TransitioningContentControl));
+ OnPropertyChanged(nameof(TreeView));
+ OnPropertyChanged(nameof(Try2CloseApp));
+ OnPropertyChanged(nameof(Type));
+ OnPropertyChanged(nameof(UploadFile));
+ OnPropertyChanged(nameof(UploadStr));
+ OnPropertyChanged(nameof(Visibility));
+ OnPropertyChanged(nameof(Vsix));
+ OnPropertyChanged(nameof(Warning));
+ OnPropertyChanged(nameof(WaterfallPanel));
+ OnPropertyChanged(nameof(Website));
+ OnPropertyChanged(nameof(Window));
+ }
+
+ ///
+ /// 查找类似 关于 的本地化字符串。
+ ///
+ public string About => Lang.About;
+
+ ///
+ /// 查找类似 添加项 的本地化字符串。
+ ///
+ public string AddItem => Lang.AddItem;
+
+ ///
+ /// 查找类似 动画路径 的本地化字符串。
+ ///
+ public string AnimationPath => Lang.AnimationPath;
+
+ ///
+ /// 查找类似 托盘图标已打开,将隐藏窗口而不是关闭程序 的本地化字符串。
+ ///
+ public string AppClosingTip => Lang.AppClosingTip;
+
+ ///
+ /// 查找类似 询问 的本地化字符串。
+ ///
+ public string Ask => Lang.Ask;
+
+ ///
+ /// 查找类似 标记 的本地化字符串。
+ ///
+ public string Badge => Lang.Badge;
+
+ ///
+ /// 查找类似 填写基本信息 的本地化字符串。
+ ///
+ public string BasicInfo => Lang.BasicInfo;
+
+ ///
+ /// 查找类似 基础布局 的本地化字符串。
+ ///
+ public string BasicLayout => Lang.BasicLayout;
+
+ ///
+ /// 查找类似 闪烁 的本地化字符串。
+ ///
+ public string Blink => Lang.Blink;
+
+ ///
+ /// 查找类似 博客 的本地化字符串。
+ ///
+ public string Blog => Lang.Blog;
+
+ ///
+ /// 查找类似 边框 的本地化字符串。
+ ///
+ public string Border => Lang.Border;
+
+ ///
+ /// 查找类似 画刷 的本地化字符串。
+ ///
+ public string Brush => Lang.Brush;
+
+ ///
+ /// 查找类似 按钮 的本地化字符串。
+ ///
+ public string Button => Lang.Button;
+
+ ///
+ /// 查找类似 自定义按钮 的本地化字符串。
+ ///
+ public string ButtonCustom => Lang.ButtonCustom;
+
+ ///
+ /// 查找类似 按钮组 的本地化字符串。
+ ///
+ public string ButtonGroup => Lang.ButtonGroup;
+
+ ///
+ /// 查找类似 日历 的本地化字符串。
+ ///
+ public string Calendar => Lang.Calendar;
+
+ ///
+ /// 查找类似 带时钟的日历 的本地化字符串。
+ ///
+ public string CalendarWithClock => Lang.CalendarWithClock;
+
+ ///
+ /// 查找类似 卡片 的本地化字符串。
+ ///
+ public string Card => Lang.Card;
+
+ ///
+ /// 查找类似 轮播 的本地化字符串。
+ ///
+ public string Carousel => Lang.Carousel;
+
+ ///
+ /// 查找类似 是否重启以更改语言? 的本地化字符串。
+ ///
+ public string ChangeLangAsk => Lang.ChangeLangAsk;
+
+ ///
+ /// 查找类似 对话气泡 的本地化字符串。
+ ///
+ public string ChatBubble => Lang.ChatBubble;
+
+ ///
+ /// 查找类似 讨论室 的本地化字符串。
+ ///
+ public string Chatroom => Lang.Chatroom;
+
+ ///
+ /// 查找类似 复选框 的本地化字符串。
+ ///
+ public string CheckBox => Lang.CheckBox;
+
+ ///
+ /// 查找类似 圆形布局 的本地化字符串。
+ ///
+ public string CirclePanel => Lang.CirclePanel;
+
+ ///
+ /// 查找类似 清空 的本地化字符串。
+ ///
+ public string Clear => Lang.Clear;
+
+ ///
+ /// 查找类似 点击计数 的本地化字符串。
+ ///
+ public string Click2Count => Lang.Click2Count;
+
+ ///
+ /// 查找类似 时钟 的本地化字符串。
+ ///
+ public string Clock => Lang.Clock;
+
+ ///
+ /// 查找类似 颜色拾取器 的本地化字符串。
+ ///
+ public string ColorPicker => Lang.ColorPicker;
+
+ ///
+ /// 查找类似 分栏偏移 的本地化字符串。
+ ///
+ public string ColumnOffset => Lang.ColumnOffset;
+
+ ///
+ /// 查找类似 分栏间隔 的本地化字符串。
+ ///
+ public string ColumnSpacing => Lang.ColumnSpacing;
+
+ ///
+ /// 查找类似 组合框 的本地化字符串。
+ ///
+ public string ComboBox => Lang.ComboBox;
+
+ ///
+ /// 查找类似 敬请期待 的本地化字符串。
+ ///
+ public string ComingSoon => Lang.ComingSoon;
+
+ ///
+ /// 查找类似 评论 的本地化字符串。
+ ///
+ public string Comment => Lang.Comment;
+
+ ///
+ /// 查找类似 一般 的本地化字符串。
+ ///
+ public string Common => Lang.Common;
+
+ ///
+ /// 查找类似 对比滑块 的本地化字符串。
+ ///
+ public string CompareSlider => Lang.CompareSlider;
+
+ ///
+ /// 查找类似 完成 的本地化字符串。
+ ///
+ public string Complete => Lang.Complete;
+
+ ///
+ /// 查找类似 这是内容 的本地化字符串。
+ ///
+ public string ContentDemoStr => Lang.ContentDemoStr;
+
+ ///
+ /// 查找类似 贡献者 的本地化字符串。
+ ///
+ public string Contributors => Lang.Contributors;
+
+ ///
+ /// 查找类似 控件 的本地化字符串。
+ ///
+ public string Controls => Lang.Controls;
+
+ ///
+ /// 查找类似 封面流 的本地化字符串。
+ ///
+ public string CoverFlow => Lang.CoverFlow;
+
+ ///
+ /// 查找类似 封面视图 的本地化字符串。
+ ///
+ public string CoverView => Lang.CoverView;
+
+ ///
+ /// 查找类似 危险 的本地化字符串。
+ ///
+ public string Danger => Lang.Danger;
+
+ ///
+ /// 查找类似 数据表格 的本地化字符串。
+ ///
+ public string DataGrid => Lang.DataGrid;
+
+ ///
+ /// 查找类似 日期选择器 的本地化字符串。
+ ///
+ public string DatePicker => Lang.DatePicker;
+
+ ///
+ /// 查找类似 日期时间选择器 的本地化字符串。
+ ///
+ public string DateTimePicker => Lang.DateTimePicker;
+
+ ///
+ /// 查找类似 默认 的本地化字符串。
+ ///
+ public string Default => Lang.Default;
+
+ ///
+ /// 查找类似 示例 的本地化字符串。
+ ///
+ public string Demo => Lang.Demo;
+
+ ///
+ /// 查找类似 对话框 的本地化字符串。
+ ///
+ public string Dialog => Lang.Dialog;
+
+ ///
+ /// 查找类似 对话框示例 的本地化字符串。
+ ///
+ public string DialogDemo => Lang.DialogDemo;
+
+ ///
+ /// 查找类似 分割线 的本地化字符串。
+ ///
+ public string Divider => Lang.Divider;
+
+ ///
+ /// 查找类似 中文文档 的本地化字符串。
+ ///
+ public string Doc_cn => Lang.Doc_cn;
+
+ ///
+ /// 查找类似 英文文档 的本地化字符串。
+ ///
+ public string Doc_en => Lang.Doc_en;
+
+ ///
+ /// 查找类似 文献资料 的本地化字符串。
+ ///
+ public string Documentation => Lang.Documentation;
+
+ ///
+ /// 查找类似 在这里拖拽 的本地化字符串。
+ ///
+ public string DragHere => Lang.DragHere;
+
+ ///
+ /// 查找类似 抽屉 的本地化字符串。
+ ///
+ public string Drawer => Lang.Drawer;
+
+ ///
+ /// 查找类似 效果 的本地化字符串。
+ ///
+ public string Effects => Lang.Effects;
+
+ ///
+ /// 查找类似 邮箱 的本地化字符串。
+ ///
+ public string Email => Lang.Email;
+
+ ///
+ /// 查找类似 错误 的本地化字符串。
+ ///
+ public string Error => Lang.Error;
+
+ ///
+ /// 查找类似 退出 的本地化字符串。
+ ///
+ public string Exit => Lang.Exit;
+
+ ///
+ /// 查找类似 展开框 的本地化字符串。
+ ///
+ public string Expander => Lang.Expander;
+
+ ///
+ /// 查找类似 严重 的本地化字符串。
+ ///
+ public string Fatal => Lang.Fatal;
+
+ ///
+ /// 查找类似 翻页时钟 的本地化字符串。
+ ///
+ public string FlipClock => Lang.FlipClock;
+
+ ///
+ /// 查找类似 漂浮块 的本地化字符串。
+ ///
+ public string FloatingBlock => Lang.FloatingBlock;
+
+ ///
+ /// 查找类似 流文档 的本地化字符串。
+ ///
+ public string FlowDocument => Lang.FlowDocument;
+
+ ///
+ /// 查找类似 流文档单页视图 的本地化字符串。
+ ///
+ public string FlowDocumentPageViewer => Lang.FlowDocumentPageViewer;
+
+ ///
+ /// 查找类似 流文档查看器 的本地化字符串。
+ ///
+ public string FlowDocumentReader => Lang.FlowDocumentReader;
+
+ ///
+ /// 查找类似 流文档滚动视图 的本地化字符串。
+ ///
+ public string FlowDocumentScrollViewer => Lang.FlowDocumentScrollViewer;
+
+ ///
+ /// 查找类似 导航框架 的本地化字符串。
+ ///
+ public string Frame => Lang.Frame;
+
+ ///
+ /// 查找类似 Gif图片 的本地化字符串。
+ ///
+ public string GifImage => Lang.GifImage;
+
+ ///
+ /// 查找类似 回到顶部 的本地化字符串。
+ ///
+ public string GotoTop => Lang.GotoTop;
+
+ ///
+ /// 查找类似 头像 的本地化字符串。
+ ///
+ public string Gravatar => Lang.Gravatar;
+
+ ///
+ /// 查找类似 栅格 的本地化字符串。
+ ///
+ public string Grid => Lang.Grid;
+
+ ///
+ /// 查找类似 分组框 的本地化字符串。
+ ///
+ public string GroupBox => Lang.GroupBox;
+
+ ///
+ /// 查找类似 组数 的本地化字符串。
+ ///
+ public string Groups => Lang.Groups;
+
+ ///
+ /// 查找类似 信息通知 的本地化字符串。
+ ///
+ public string Growl => Lang.Growl;
+
+ ///
+ /// 查找类似 检测到有新版本!是否更新? 的本地化字符串。
+ ///
+ public string GrowlAsk => Lang.GrowlAsk;
+
+ ///
+ /// 查找类似 消息通知示例 的本地化字符串。
+ ///
+ public string GrowlDemo => Lang.GrowlDemo;
+
+ ///
+ /// 查找类似 连接失败,请检查网络! 的本地化字符串。
+ ///
+ public string GrowlError => Lang.GrowlError;
+
+ ///
+ /// 查找类似 程序已崩溃~~~ 的本地化字符串。
+ ///
+ public string GrowlFatal => Lang.GrowlFatal;
+
+ ///
+ /// 查找类似 今天的天气不错~~~ 的本地化字符串。
+ ///
+ public string GrowlInfo => Lang.GrowlInfo;
+
+ ///
+ /// 查找类似 文件保存成功! 的本地化字符串。
+ ///
+ public string GrowlSuccess => Lang.GrowlSuccess;
+
+ ///
+ /// 查找类似 磁盘空间快要满了! 的本地化字符串。
+ ///
+ public string GrowlWarning => Lang.GrowlWarning;
+
+ ///
+ /// 查找类似 阴影画笔生成器 的本地化字符串。
+ ///
+ public string HatchBrushGenerator => Lang.HatchBrushGenerator;
+
+ ///
+ /// 查找类似 蜂窝布局 的本地化字符串。
+ ///
+ public string HoneycombPanel => Lang.HoneycombPanel;
+
+ ///
+ /// 查找类似 混合布局 的本地化字符串。
+ ///
+ public string HybridLayout => Lang.HybridLayout;
+
+ ///
+ /// 查找类似 忽略 的本地化字符串。
+ ///
+ public string Ignore => Lang.Ignore;
+
+ ///
+ /// 查找类似 图片块 的本地化字符串。
+ ///
+ public string ImageBlock => Lang.ImageBlock;
+
+ ///
+ /// 查找类似 图片浏览器 的本地化字符串。
+ ///
+ public string ImageBrowser => Lang.ImageBrowser;
+
+ ///
+ /// 查找类似 索引 的本地化字符串。
+ ///
+ public string Index => Lang.Index;
+
+ ///
+ /// 查找类似 信息 的本地化字符串。
+ ///
+ public string Info => Lang.Info;
+
+ ///
+ /// 查找类似 可交互对话框 的本地化字符串。
+ ///
+ public string InteractiveDialog => Lang.InteractiveDialog;
+
+ ///
+ /// 查找类似 不是手机号码 的本地化字符串。
+ ///
+ public string IsNotPhone => Lang.IsNotPhone;
+
+ ///
+ /// 查找类似 标签 的本地化字符串。
+ ///
+ public string Label => Lang.Label;
+
+ ///
+ /// 查找类似 查找类似 {0} 的本地化字符串。 的本地化字符串。
+ ///
+ public string LangComment => Lang.LangComment;
+
+ ///
+ /// 查找类似 列表框 的本地化字符串。
+ ///
+ public string ListBox => Lang.ListBox;
+
+ ///
+ /// 查找类似 列表视图 的本地化字符串。
+ ///
+ public string ListView => Lang.ListView;
+
+ ///
+ /// 查找类似 加载条 的本地化字符串。
+ ///
+ public string Loading => Lang.Loading;
+
+ ///
+ /// 查找类似 放大镜 的本地化字符串。
+ ///
+ public string Magnifier => Lang.Magnifier;
+
+ ///
+ /// 查找类似 菜单 的本地化字符串。
+ ///
+ public string Menu => Lang.Menu;
+
+ ///
+ /// 查找类似 消息框 的本地化字符串。
+ ///
+ public string MessageBox => Lang.MessageBox;
+
+ ///
+ /// 查找类似 的本地化字符串。
+ ///
+ public string Morphing_Animation => Lang.Morphing_Animation;
+
+ ///
+ /// 查找类似 名称 的本地化字符串。
+ ///
+ public string Name => Lang.Name;
+
+ ///
+ /// 查找类似 新建窗口 的本地化字符串。
+ ///
+ public string NewWindow => Lang.NewWindow;
+
+ ///
+ /// 查找类似 下一步 的本地化字符串。
+ ///
+ public string Next => Lang.Next;
+
+ ///
+ /// 查找类似 桌面通知 的本地化字符串。
+ ///
+ public string Notification => Lang.Notification;
+
+ ///
+ /// 查找类似 托盘图标 的本地化字符串。
+ ///
+ public string NotifyIcon => Lang.NotifyIcon;
+
+ ///
+ /// 查找类似 数值选择控件 的本地化字符串。
+ ///
+ public string NumericUpDown => Lang.NumericUpDown;
+
+ ///
+ /// 查找类似 关 的本地化字符串。
+ ///
+ public string Off => Lang.Off;
+
+ ///
+ /// 查找类似 确定 的本地化字符串。
+ ///
+ public string Ok => Lang.Ok;
+
+ ///
+ /// 查找类似 开 的本地化字符串。
+ ///
+ public string On => Lang.On;
+
+ ///
+ /// 查找类似 点击打开背景模糊窗口 的本地化字符串。
+ ///
+ public string OpenBlurWindow => Lang.OpenBlurWindow;
+
+ ///
+ /// 查找类似 点击打开常规窗口 的本地化字符串。
+ ///
+ public string OpenCommonWindow => Lang.OpenCommonWindow;
+
+ ///
+ /// 查找类似 点击打开自定义内容窗口 的本地化字符串。
+ ///
+ public string OpenCustomContentWindow => Lang.OpenCustomContentWindow;
+
+ ///
+ /// 查找类似 点击打开自定义消息窗口 的本地化字符串。
+ ///
+ public string OpenCustomMessageWindow => Lang.OpenCustomMessageWindow;
+
+ ///
+ /// 查找类似 点击打开自定义非客户端区域窗口 的本地化字符串。
+ ///
+ public string OpenCustomNonClientAreaWindow => Lang.OpenCustomNonClientAreaWindow;
+
+ ///
+ /// 查找类似 点击打开辉光窗口 的本地化字符串。
+ ///
+ public string OpenGlowWindow => Lang.OpenGlowWindow;
+
+ ///
+ /// 查找类似 点击打开图片浏览器 的本地化字符串。
+ ///
+ public string OpenImageBrowser => Lang.OpenImageBrowser;
+
+ ///
+ /// 查找类似 点击打开消息窗口 的本地化字符串。
+ ///
+ public string OpenMessageWindow => Lang.OpenMessageWindow;
+
+ ///
+ /// 查找类似 点击打开鼠标跟随窗口 的本地化字符串。
+ ///
+ public string OpenMouseFollowWindow => Lang.OpenMouseFollowWindow;
+
+ ///
+ /// 查找类似 点击打开原生常规窗口 的本地化字符串。
+ ///
+ public string OpenNativeCommonWindow => Lang.OpenNativeCommonWindow;
+
+ ///
+ /// 查找类似 点击打开导航窗口 的本地化字符串。
+ ///
+ public string OpenNavigationWindow => Lang.OpenNavigationWindow;
+
+ ///
+ /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。
+ ///
+ public string OpenNoNonClientAreaDragableWindow => Lang.OpenNoNonClientAreaDragableWindow;
+
+ ///
+ /// 查找类似 打开面板 的本地化字符串。
+ ///
+ public string OpenPanel => Lang.OpenPanel;
+
+ ///
+ /// 查找类似 打开精灵 的本地化字符串。
+ ///
+ public string OpenSprite => Lang.OpenSprite;
+
+ ///
+ /// 查找类似 轮廓文本 的本地化字符串。
+ ///
+ public string OutlineText => Lang.OutlineText;
+
+ ///
+ /// 查找类似 页码条 的本地化字符串。
+ ///
+ public string Pagination => Lang.Pagination;
+
+ ///
+ /// 查找类似 密码框 的本地化字符串。
+ ///
+ public string PasswordBox => Lang.PasswordBox;
+
+ ///
+ /// 查找类似 PIN码框 的本地化字符串。
+ ///
+ public string PinBox => Lang.PinBox;
+
+ ///
+ /// 查找类似 请输入... 的本地化字符串。
+ ///
+ public string PleaseInput => Lang.PleaseInput;
+
+ ///
+ /// 查找类似 请稍后... 的本地化字符串。
+ ///
+ public string PleaseWait => Lang.PleaseWait;
+
+ ///
+ /// 查找类似 请输入内容 的本地化字符串。
+ ///
+ public string PlsEnterContent => Lang.PlsEnterContent;
+
+ ///
+ /// 查找类似 请输入邮箱 的本地化字符串。
+ ///
+ public string PlsEnterEmail => Lang.PlsEnterEmail;
+
+ ///
+ /// 查找类似 请输入关键字 的本地化字符串。
+ ///
+ public string PlsEnterKey => Lang.PlsEnterKey;
+
+ ///
+ /// 查找类似 气泡提示 的本地化字符串。
+ ///
+ public string Poptip => Lang.Poptip;
+
+ ///
+ /// 查找类似 上左;上边;上右;右上;右边;右下;下右;下边;下左;左下;左边;左上 的本地化字符串。
+ ///
+ public string PoptipPositionStr => Lang.PoptipPositionStr;
+
+ ///
+ /// 查找类似 实用例子 的本地化字符串。
+ ///
+ public string PracticalDemos => Lang.PracticalDemos;
+
+ ///
+ /// 查找类似 上一步 的本地化字符串。
+ ///
+ public string Prev => Lang.Prev;
+
+ ///
+ /// 查找类似 预览滑块 的本地化字符串。
+ ///
+ public string PreviewSlider => Lang.PreviewSlider;
+
+ ///
+ /// 查找类似 主要 的本地化字符串。
+ ///
+ public string Primary => Lang.Primary;
+
+ ///
+ /// 查找类似 进度条 的本地化字符串。
+ ///
+ public string ProgressBar => Lang.ProgressBar;
+
+ ///
+ /// 查找类似 进度按钮 的本地化字符串。
+ ///
+ public string ProgressButton => Lang.ProgressButton;
+
+ ///
+ /// 查找类似 项目 的本地化字符串。
+ ///
+ public string Project => Lang.Project;
+
+ ///
+ /// 查找类似 按住说话 的本地化字符串。
+ ///
+ public string PushToTalk => Lang.PushToTalk;
+
+ ///
+ /// 查找类似 QQ群 的本地化字符串。
+ ///
+ public string QQGroup => Lang.QQGroup;
+
+ ///
+ /// 查找类似 单选按钮 的本地化字符串。
+ ///
+ public string RadioButton => Lang.RadioButton;
+
+ ///
+ /// 查找类似 范围滑块 的本地化字符串。
+ ///
+ public string RangeSlider => Lang.RangeSlider;
+
+ ///
+ /// 查找类似 评分 的本地化字符串。
+ ///
+ public string Rate => Lang.Rate;
+
+ ///
+ /// 查找类似 群友推荐 的本地化字符串。
+ ///
+ public string Recommendation => Lang.Recommendation;
+
+ ///
+ /// 查找类似 注册 的本地化字符串。
+ ///
+ public string Register => Lang.Register;
+
+ ///
+ /// 查找类似 相对布局 的本地化字符串。
+ ///
+ public string RelativePanel => Lang.RelativePanel;
+
+ ///
+ /// 查找类似 备注 的本地化字符串。
+ ///
+ public string Remark => Lang.Remark;
+
+ ///
+ /// 查找类似 删除项 的本地化字符串。
+ ///
+ public string RemoveItem => Lang.RemoveItem;
+
+ ///
+ /// 查找类似 重复按钮 的本地化字符串。
+ ///
+ public string RepeatButton => Lang.RepeatButton;
+
+ ///
+ /// 查找类似 回复 的本地化字符串。
+ ///
+ public string Reply => Lang.Reply;
+
+ ///
+ /// 查找类似 代码仓库 的本地化字符串。
+ ///
+ public string Repository => Lang.Repository;
+
+ ///
+ /// 查找类似 响应式布局 的本地化字符串。
+ ///
+ public string ResponsiveLayout => Lang.ResponsiveLayout;
+
+ ///
+ /// 查找类似 富文本框 的本地化字符串。
+ ///
+ public string RichTextBox => Lang.RichTextBox;
+
+ ///
+ /// 查找类似 在这里右击 的本地化字符串。
+ ///
+ public string RightClickHere => Lang.RightClickHere;
+
+ ///
+ /// 查找类似 滚动块 的本地化字符串。
+ ///
+ public string RunningBlock => Lang.RunningBlock;
+
+ ///
+ /// 查找类似 截图 的本地化字符串。
+ ///
+ public string Screenshot => Lang.Screenshot;
+
+ ///
+ /// 查找类似 滚动视图 的本地化字符串。
+ ///
+ public string ScrollViewer => Lang.ScrollViewer;
+
+ ///
+ /// 查找类似 搜索栏 的本地化字符串。
+ ///
+ public string SearchBar => Lang.SearchBar;
+
+ ///
+ /// 查找类似 秒 的本地化字符串。
+ ///
+ public string Second => Lang.Second;
+
+ ///
+ /// 查找类似 选中 的本地化字符串。
+ ///
+ public string Selected => Lang.Selected;
+
+ ///
+ /// 查找类似 发送通知 的本地化字符串。
+ ///
+ public string SendNotification => Lang.SendNotification;
+
+ ///
+ /// 查找类似 徽章 的本地化字符串。
+ ///
+ public string Shield => Lang.Shield;
+
+ ///
+ /// 查找类似 在当前窗口显示 的本地化字符串。
+ ///
+ public string ShowInCurrentWindow => Lang.ShowInCurrentWindow;
+
+ ///
+ /// 查找类似 在主窗口显示 的本地化字符串。
+ ///
+ public string ShowInMainWindow => Lang.ShowInMainWindow;
+
+ ///
+ /// 查找类似 显示行号 的本地化字符串。
+ ///
+ public string ShowRowNumber => Lang.ShowRowNumber;
+
+ ///
+ /// 查找类似 侧边菜单 的本地化字符串。
+ ///
+ public string SideMenu => Lang.SideMenu;
+
+ ///
+ /// 查找类似 滑块 的本地化字符串。
+ ///
+ public string Slider => Lang.Slider;
+
+ ///
+ /// 查找类似 分割按钮 的本地化字符串。
+ ///
+ public string SplitButton => Lang.SplitButton;
+
+ ///
+ /// 查找类似 精灵 的本地化字符串。
+ ///
+ public string Sprite => Lang.Sprite;
+
+ ///
+ /// 查找类似 开始截图 的本地化字符串。
+ ///
+ public string StartScreenshot => Lang.StartScreenshot;
+
+ ///
+ /// 查找类似 保持打开 的本地化字符串。
+ ///
+ public string StaysOpen => Lang.StaysOpen;
+
+ ///
+ /// 查找类似 步骤 的本地化字符串。
+ ///
+ public string Step => Lang.Step;
+
+ ///
+ /// 查找类似 步骤条 的本地化字符串。
+ ///
+ public string StepBar => Lang.StepBar;
+
+ ///
+ /// 查找类似 样式模板 的本地化字符串。
+ ///
+ public string Styles => Lang.Styles;
+
+ ///
+ /// 查找类似 子标题 的本地化字符串。
+ ///
+ public string SubTitle => Lang.SubTitle;
+
+ ///
+ /// 查找类似 成功 的本地化字符串。
+ ///
+ public string Success => Lang.Success;
+
+ ///
+ /// 查找类似 选项卡控件 的本地化字符串。
+ ///
+ public string TabControl => Lang.TabControl;
+
+ ///
+ /// 查找类似 标签 的本地化字符串。
+ ///
+ public string Tag => Lang.Tag;
+
+ ///
+ /// 查找类似 正文 的本地化字符串。
+ ///
+ public string Text => Lang.Text;
+
+ ///
+ /// 查找类似 文本块 的本地化字符串。
+ ///
+ public string TextBlock => Lang.TextBlock;
+
+ ///
+ /// 查找类似 文本框 的本地化字符串。
+ ///
+ public string TextBox => Lang.TextBox;
+
+ ///
+ /// 查找类似 文本对话框 的本地化字符串。
+ ///
+ public string TextDialog => Lang.TextDialog;
+
+ ///
+ /// 查找类似 文本对话框(控件中) 的本地化字符串。
+ ///
+ public string TextDialogInControl => Lang.TextDialogInControl;
+
+ ///
+ /// 查找类似 文本对话框,带计时器 的本地化字符串。
+ ///
+ public string TextDialogWithTimer => Lang.TextDialogWithTimer;
+
+ ///
+ /// 查找类似 时间条 的本地化字符串。
+ ///
+ public string TimeBar => Lang.TimeBar;
+
+ ///
+ /// 查找类似 时间选择器 的本地化字符串。
+ ///
+ public string TimePicker => Lang.TimePicker;
+
+ ///
+ /// 查找类似 提示 的本地化字符串。
+ ///
+ public string Tip => Lang.Tip;
+
+ ///
+ /// 查找类似 标题 的本地化字符串。
+ ///
+ public string Title => Lang.Title;
+
+ ///
+ /// 查找类似 这是标题 的本地化字符串。
+ ///
+ public string TitleDemoStr1 => Lang.TitleDemoStr1;
+
+ ///
+ /// 查找类似 此项必填 的本地化字符串。
+ ///
+ public string TitleDemoStr2 => Lang.TitleDemoStr2;
+
+ ///
+ /// 查找类似 标题在左侧 的本地化字符串。
+ ///
+ public string TitleDemoStr3 => Lang.TitleDemoStr3;
+
+ ///
+ /// 查找类似 切换按钮 的本地化字符串。
+ ///
+ public string ToggleButton => Lang.ToggleButton;
+
+ ///
+ /// 查找类似 工具条 的本地化字符串。
+ ///
+ public string ToolBar => Lang.ToolBar;
+
+ ///
+ /// 查找类似 工具 的本地化字符串。
+ ///
+ public string Tools => Lang.Tools;
+
+ ///
+ /// 查找类似 穿梭框 的本地化字符串。
+ ///
+ public string Transfer => Lang.Transfer;
+
+ ///
+ /// 查找类似 内容过渡控件 的本地化字符串。
+ ///
+ public string TransitioningContentControl => Lang.TransitioningContentControl;
+
+ ///
+ /// 查找类似 树视图 的本地化字符串。
+ ///
+ public string TreeView => Lang.TreeView;
+
+ ///
+ /// 查找类似 试试关闭程序吧? 的本地化字符串。
+ ///
+ public string Try2CloseApp => Lang.Try2CloseApp;
+
+ ///
+ /// 查找类似 类型 的本地化字符串。
+ ///
+ public string Type => Lang.Type;
+
+ ///
+ /// 查找类似 上传文件 的本地化字符串。
+ ///
+ public string UploadFile => Lang.UploadFile;
+
+ ///
+ /// 查找类似 上传;上传中 的本地化字符串。
+ ///
+ public string UploadStr => Lang.UploadStr;
+
+ ///
+ /// 查找类似 可见性 的本地化字符串。
+ ///
+ public string Visibility => Lang.Visibility;
+
+ ///
+ /// 查找类似 VS 插件 的本地化字符串。
+ ///
+ public string Vsix => Lang.Vsix;
+
+ ///
+ /// 查找类似 警告 的本地化字符串。
+ ///
+ public string Warning => Lang.Warning;
+
+ ///
+ /// 查找类似 瀑布流 的本地化字符串。
+ ///
+ public string WaterfallPanel => Lang.WaterfallPanel;
+
+ ///
+ /// 查找类似 网站 的本地化字符串。
+ ///
+ public string Website => Lang.Website;
+
+ ///
+ /// 查找类似 窗口 的本地化字符串。
+ ///
+ public string Window => Lang.Window;
+
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void OnPropertyChanged(string propertyName) =>
+ PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
+ }
+
+ public class LangKeys
+ {
+ ///
+ /// 查找类似 关于 的本地化字符串。
+ ///
+ public static string About = nameof(About);
+
+ ///
+ /// 查找类似 添加项 的本地化字符串。
+ ///
+ public static string AddItem = nameof(AddItem);
+
+ ///
+ /// 查找类似 动画路径 的本地化字符串。
+ ///
+ public static string AnimationPath = nameof(AnimationPath);
+
+ ///
+ /// 查找类似 托盘图标已打开,将隐藏窗口而不是关闭程序 的本地化字符串。
+ ///
+ public static string AppClosingTip = nameof(AppClosingTip);
+
+ ///
+ /// 查找类似 询问 的本地化字符串。
+ ///
+ public static string Ask = nameof(Ask);
+
+ ///
+ /// 查找类似 标记 的本地化字符串。
+ ///
+ public static string Badge = nameof(Badge);
+
+ ///
+ /// 查找类似 填写基本信息 的本地化字符串。
+ ///
+ public static string BasicInfo = nameof(BasicInfo);
+
+ ///
+ /// 查找类似 基础布局 的本地化字符串。
+ ///
+ public static string BasicLayout = nameof(BasicLayout);
+
+ ///
+ /// 查找类似 闪烁 的本地化字符串。
+ ///
+ public static string Blink = nameof(Blink);
+
+ ///
+ /// 查找类似 博客 的本地化字符串。
+ ///
+ public static string Blog = nameof(Blog);
+
+ ///
+ /// 查找类似 边框 的本地化字符串。
+ ///
+ public static string Border = nameof(Border);
+
+ ///
+ /// 查找类似 画刷 的本地化字符串。
+ ///
+ public static string Brush = nameof(Brush);
+
+ ///
+ /// 查找类似 按钮 的本地化字符串。
+ ///
+ public static string Button = nameof(Button);
+
+ ///
+ /// 查找类似 自定义按钮 的本地化字符串。
+ ///
+ public static string ButtonCustom = nameof(ButtonCustom);
+
+ ///
+ /// 查找类似 按钮组 的本地化字符串。
+ ///
+ public static string ButtonGroup = nameof(ButtonGroup);
+
+ ///
+ /// 查找类似 日历 的本地化字符串。
+ ///
+ public static string Calendar = nameof(Calendar);
+
+ ///
+ /// 查找类似 带时钟的日历 的本地化字符串。
+ ///
+ public static string CalendarWithClock = nameof(CalendarWithClock);
+
+ ///
+ /// 查找类似 卡片 的本地化字符串。
+ ///
+ public static string Card = nameof(Card);
+
+ ///
+ /// 查找类似 轮播 的本地化字符串。
+ ///
+ public static string Carousel = nameof(Carousel);
+
+ ///
+ /// 查找类似 是否重启以更改语言? 的本地化字符串。
+ ///
+ public static string ChangeLangAsk = nameof(ChangeLangAsk);
+
+ ///
+ /// 查找类似 对话气泡 的本地化字符串。
+ ///
+ public static string ChatBubble = nameof(ChatBubble);
+
+ ///
+ /// 查找类似 讨论室 的本地化字符串。
+ ///
+ public static string Chatroom = nameof(Chatroom);
+
+ ///
+ /// 查找类似 复选框 的本地化字符串。
+ ///
+ public static string CheckBox = nameof(CheckBox);
+
+ ///
+ /// 查找类似 圆形布局 的本地化字符串。
+ ///
+ public static string CirclePanel = nameof(CirclePanel);
+
+ ///
+ /// 查找类似 清空 的本地化字符串。
+ ///
+ public static string Clear = nameof(Clear);
+
+ ///
+ /// 查找类似 点击计数 的本地化字符串。
+ ///
+ public static string Click2Count = nameof(Click2Count);
+
+ ///
+ /// 查找类似 时钟 的本地化字符串。
+ ///
+ public static string Clock = nameof(Clock);
+
+ ///
+ /// 查找类似 颜色拾取器 的本地化字符串。
+ ///
+ public static string ColorPicker = nameof(ColorPicker);
+
+ ///
+ /// 查找类似 分栏偏移 的本地化字符串。
+ ///
+ public static string ColumnOffset = nameof(ColumnOffset);
+
+ ///
+ /// 查找类似 分栏间隔 的本地化字符串。
+ ///
+ public static string ColumnSpacing = nameof(ColumnSpacing);
+
+ ///
+ /// 查找类似 组合框 的本地化字符串。
+ ///
+ public static string ComboBox = nameof(ComboBox);
+
+ ///
+ /// 查找类似 敬请期待 的本地化字符串。
+ ///
+ public static string ComingSoon = nameof(ComingSoon);
+
+ ///
+ /// 查找类似 评论 的本地化字符串。
+ ///
+ public static string Comment = nameof(Comment);
+
+ ///
+ /// 查找类似 一般 的本地化字符串。
+ ///
+ public static string Common = nameof(Common);
+
+ ///
+ /// 查找类似 对比滑块 的本地化字符串。
+ ///
+ public static string CompareSlider = nameof(CompareSlider);
+
+ ///
+ /// 查找类似 完成 的本地化字符串。
+ ///
+ public static string Complete = nameof(Complete);
+
+ ///
+ /// 查找类似 这是内容 的本地化字符串。
+ ///
+ public static string ContentDemoStr = nameof(ContentDemoStr);
+
+ ///
+ /// 查找类似 贡献者 的本地化字符串。
+ ///
+ public static string Contributors = nameof(Contributors);
+
+ ///
+ /// 查找类似 控件 的本地化字符串。
+ ///
+ public static string Controls = nameof(Controls);
+
+ ///
+ /// 查找类似 封面流 的本地化字符串。
+ ///
+ public static string CoverFlow = nameof(CoverFlow);
+
+ ///
+ /// 查找类似 封面视图 的本地化字符串。
+ ///
+ public static string CoverView = nameof(CoverView);
+
+ ///
+ /// 查找类似 危险 的本地化字符串。
+ ///
+ public static string Danger = nameof(Danger);
+
+ ///
+ /// 查找类似 数据表格 的本地化字符串。
+ ///
+ public static string DataGrid = nameof(DataGrid);
+
+ ///
+ /// 查找类似 日期选择器 的本地化字符串。
+ ///
+ public static string DatePicker = nameof(DatePicker);
+
+ ///
+ /// 查找类似 日期时间选择器 的本地化字符串。
+ ///
+ public static string DateTimePicker = nameof(DateTimePicker);
+
+ ///
+ /// 查找类似 默认 的本地化字符串。
+ ///
+ public static string Default = nameof(Default);
+
+ ///
+ /// 查找类似 示例 的本地化字符串。
+ ///
+ public static string Demo = nameof(Demo);
+
+ ///
+ /// 查找类似 对话框 的本地化字符串。
+ ///
+ public static string Dialog = nameof(Dialog);
+
+ ///
+ /// 查找类似 对话框示例 的本地化字符串。
+ ///
+ public static string DialogDemo = nameof(DialogDemo);
+
+ ///
+ /// 查找类似 分割线 的本地化字符串。
+ ///
+ public static string Divider = nameof(Divider);
+
+ ///
+ /// 查找类似 中文文档 的本地化字符串。
+ ///
+ public static string Doc_cn = nameof(Doc_cn);
+
+ ///
+ /// 查找类似 英文文档 的本地化字符串。
+ ///
+ public static string Doc_en = nameof(Doc_en);
+
+ ///
+ /// 查找类似 文献资料 的本地化字符串。
+ ///
+ public static string Documentation = nameof(Documentation);
+
+ ///
+ /// 查找类似 在这里拖拽 的本地化字符串。
+ ///
+ public static string DragHere = nameof(DragHere);
+
+ ///
+ /// 查找类似 抽屉 的本地化字符串。
+ ///
+ public static string Drawer = nameof(Drawer);
+
+ ///
+ /// 查找类似 效果 的本地化字符串。
+ ///
+ public static string Effects = nameof(Effects);
+
+ ///
+ /// 查找类似 邮箱 的本地化字符串。
+ ///
+ public static string Email = nameof(Email);
+
+ ///
+ /// 查找类似 错误 的本地化字符串。
+ ///
+ public static string Error = nameof(Error);
+
+ ///
+ /// 查找类似 退出 的本地化字符串。
+ ///
+ public static string Exit = nameof(Exit);
+
+ ///
+ /// 查找类似 展开框 的本地化字符串。
+ ///
+ public static string Expander = nameof(Expander);
+
+ ///
+ /// 查找类似 严重 的本地化字符串。
+ ///
+ public static string Fatal = nameof(Fatal);
+
+ ///
+ /// 查找类似 翻页时钟 的本地化字符串。
+ ///
+ public static string FlipClock = nameof(FlipClock);
+
+ ///
+ /// 查找类似 漂浮块 的本地化字符串。
+ ///
+ public static string FloatingBlock = nameof(FloatingBlock);
+
+ ///
+ /// 查找类似 流文档 的本地化字符串。
+ ///
+ public static string FlowDocument = nameof(FlowDocument);
+
+ ///
+ /// 查找类似 流文档单页视图 的本地化字符串。
+ ///
+ public static string FlowDocumentPageViewer = nameof(FlowDocumentPageViewer);
+
+ ///
+ /// 查找类似 流文档查看器 的本地化字符串。
+ ///
+ public static string FlowDocumentReader = nameof(FlowDocumentReader);
+
+ ///
+ /// 查找类似 流文档滚动视图 的本地化字符串。
+ ///
+ public static string FlowDocumentScrollViewer = nameof(FlowDocumentScrollViewer);
+
+ ///
+ /// 查找类似 导航框架 的本地化字符串。
+ ///
+ public static string Frame = nameof(Frame);
+
+ ///
+ /// 查找类似 Gif图片 的本地化字符串。
+ ///
+ public static string GifImage = nameof(GifImage);
+
+ ///
+ /// 查找类似 回到顶部 的本地化字符串。
+ ///
+ public static string GotoTop = nameof(GotoTop);
+
+ ///
+ /// 查找类似 头像 的本地化字符串。
+ ///
+ public static string Gravatar = nameof(Gravatar);
+
+ ///
+ /// 查找类似 栅格 的本地化字符串。
+ ///
+ public static string Grid = nameof(Grid);
+
+ ///
+ /// 查找类似 分组框 的本地化字符串。
+ ///
+ public static string GroupBox = nameof(GroupBox);
+
+ ///
+ /// 查找类似 组数 的本地化字符串。
+ ///
+ public static string Groups = nameof(Groups);
+
+ ///
+ /// 查找类似 信息通知 的本地化字符串。
+ ///
+ public static string Growl = nameof(Growl);
+
+ ///
+ /// 查找类似 检测到有新版本!是否更新? 的本地化字符串。
+ ///
+ public static string GrowlAsk = nameof(GrowlAsk);
+
+ ///
+ /// 查找类似 消息通知示例 的本地化字符串。
+ ///
+ public static string GrowlDemo = nameof(GrowlDemo);
+
+ ///
+ /// 查找类似 连接失败,请检查网络! 的本地化字符串。
+ ///
+ public static string GrowlError = nameof(GrowlError);
+
+ ///
+ /// 查找类似 程序已崩溃~~~ 的本地化字符串。
+ ///
+ public static string GrowlFatal = nameof(GrowlFatal);
+
+ ///
+ /// 查找类似 今天的天气不错~~~ 的本地化字符串。
+ ///
+ public static string GrowlInfo = nameof(GrowlInfo);
+
+ ///
+ /// 查找类似 文件保存成功! 的本地化字符串。
+ ///
+ public static string GrowlSuccess = nameof(GrowlSuccess);
+
+ ///
+ /// 查找类似 磁盘空间快要满了! 的本地化字符串。
+ ///
+ public static string GrowlWarning = nameof(GrowlWarning);
+
+ ///
+ /// 查找类似 阴影画笔生成器 的本地化字符串。
+ ///
+ public static string HatchBrushGenerator = nameof(HatchBrushGenerator);
+
+ ///
+ /// 查找类似 蜂窝布局 的本地化字符串。
+ ///
+ public static string HoneycombPanel = nameof(HoneycombPanel);
+
+ ///
+ /// 查找类似 混合布局 的本地化字符串。
+ ///
+ public static string HybridLayout = nameof(HybridLayout);
+
+ ///
+ /// 查找类似 忽略 的本地化字符串。
+ ///
+ public static string Ignore = nameof(Ignore);
+
+ ///
+ /// 查找类似 图片块 的本地化字符串。
+ ///
+ public static string ImageBlock = nameof(ImageBlock);
+
+ ///
+ /// 查找类似 图片浏览器 的本地化字符串。
+ ///
+ public static string ImageBrowser = nameof(ImageBrowser);
+
+ ///
+ /// 查找类似 索引 的本地化字符串。
+ ///
+ public static string Index = nameof(Index);
+
+ ///
+ /// 查找类似 信息 的本地化字符串。
+ ///
+ public static string Info = nameof(Info);
+
+ ///
+ /// 查找类似 可交互对话框 的本地化字符串。
+ ///
+ public static string InteractiveDialog = nameof(InteractiveDialog);
+
+ ///
+ /// 查找类似 不是手机号码 的本地化字符串。
+ ///
+ public static string IsNotPhone = nameof(IsNotPhone);
+
+ ///
+ /// 查找类似 标签 的本地化字符串。
+ ///
+ public static string Label = nameof(Label);
+
+ ///
+ /// 查找类似 查找类似 {0} 的本地化字符串。 的本地化字符串。
+ ///
+ public static string LangComment = nameof(LangComment);
+
+ ///
+ /// 查找类似 列表框 的本地化字符串。
+ ///
+ public static string ListBox = nameof(ListBox);
+
+ ///
+ /// 查找类似 列表视图 的本地化字符串。
+ ///
+ public static string ListView = nameof(ListView);
+
+ ///
+ /// 查找类似 加载条 的本地化字符串。
+ ///
+ public static string Loading = nameof(Loading);
+
+ ///
+ /// 查找类似 放大镜 的本地化字符串。
+ ///
+ public static string Magnifier = nameof(Magnifier);
+
+ ///
+ /// 查找类似 菜单 的本地化字符串。
+ ///
+ public static string Menu = nameof(Menu);
+
+ ///
+ /// 查找类似 消息框 的本地化字符串。
+ ///
+ public static string MessageBox = nameof(MessageBox);
+
+ ///
+ /// 查找类似 的本地化字符串。
+ ///
+ public static string Morphing_Animation = nameof(Morphing_Animation);
+
+ ///
+ /// 查找类似 名称 的本地化字符串。
+ ///
+ public static string Name = nameof(Name);
+
+ ///
+ /// 查找类似 新建窗口 的本地化字符串。
+ ///
+ public static string NewWindow = nameof(NewWindow);
+
+ ///
+ /// 查找类似 下一步 的本地化字符串。
+ ///
+ public static string Next = nameof(Next);
+
+ ///
+ /// 查找类似 桌面通知 的本地化字符串。
+ ///
+ public static string Notification = nameof(Notification);
+
+ ///
+ /// 查找类似 托盘图标 的本地化字符串。
+ ///
+ public static string NotifyIcon = nameof(NotifyIcon);
+
+ ///
+ /// 查找类似 数值选择控件 的本地化字符串。
+ ///
+ public static string NumericUpDown = nameof(NumericUpDown);
+
+ ///
+ /// 查找类似 关 的本地化字符串。
+ ///
+ public static string Off = nameof(Off);
+
+ ///
+ /// 查找类似 确定 的本地化字符串。
+ ///
+ public static string Ok = nameof(Ok);
+
+ ///
+ /// 查找类似 开 的本地化字符串。
+ ///
+ public static string On = nameof(On);
+
+ ///
+ /// 查找类似 点击打开背景模糊窗口 的本地化字符串。
+ ///
+ public static string OpenBlurWindow = nameof(OpenBlurWindow);
+
+ ///
+ /// 查找类似 点击打开常规窗口 的本地化字符串。
+ ///
+ public static string OpenCommonWindow = nameof(OpenCommonWindow);
+
+ ///
+ /// 查找类似 点击打开自定义内容窗口 的本地化字符串。
+ ///
+ public static string OpenCustomContentWindow = nameof(OpenCustomContentWindow);
+
+ ///
+ /// 查找类似 点击打开自定义消息窗口 的本地化字符串。
+ ///
+ public static string OpenCustomMessageWindow = nameof(OpenCustomMessageWindow);
+
+ ///
+ /// 查找类似 点击打开自定义非客户端区域窗口 的本地化字符串。
+ ///
+ public static string OpenCustomNonClientAreaWindow = nameof(OpenCustomNonClientAreaWindow);
+
+ ///
+ /// 查找类似 点击打开辉光窗口 的本地化字符串。
+ ///
+ public static string OpenGlowWindow = nameof(OpenGlowWindow);
+
+ ///
+ /// 查找类似 点击打开图片浏览器 的本地化字符串。
+ ///
+ public static string OpenImageBrowser = nameof(OpenImageBrowser);
+
+ ///
+ /// 查找类似 点击打开消息窗口 的本地化字符串。
+ ///
+ public static string OpenMessageWindow = nameof(OpenMessageWindow);
+
+ ///
+ /// 查找类似 点击打开鼠标跟随窗口 的本地化字符串。
+ ///
+ public static string OpenMouseFollowWindow = nameof(OpenMouseFollowWindow);
+
+ ///
+ /// 查找类似 点击打开原生常规窗口 的本地化字符串。
+ ///
+ public static string OpenNativeCommonWindow = nameof(OpenNativeCommonWindow);
+
+ ///
+ /// 查找类似 点击打开导航窗口 的本地化字符串。
+ ///
+ public static string OpenNavigationWindow = nameof(OpenNavigationWindow);
+
+ ///
+ /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。
+ ///
+ public static string OpenNoNonClientAreaDragableWindow = nameof(OpenNoNonClientAreaDragableWindow);
+
+ ///
+ /// 查找类似 打开面板 的本地化字符串。
+ ///
+ public static string OpenPanel = nameof(OpenPanel);
+
+ ///
+ /// 查找类似 打开精灵 的本地化字符串。
+ ///
+ public static string OpenSprite = nameof(OpenSprite);
+
+ ///
+ /// 查找类似 轮廓文本 的本地化字符串。
+ ///
+ public static string OutlineText = nameof(OutlineText);
+
+ ///
+ /// 查找类似 页码条 的本地化字符串。
+ ///
+ public static string Pagination = nameof(Pagination);
+
+ ///
+ /// 查找类似 密码框 的本地化字符串。
+ ///
+ public static string PasswordBox = nameof(PasswordBox);
+
+ ///
+ /// 查找类似 PIN码框 的本地化字符串。
+ ///
+ public static string PinBox = nameof(PinBox);
+
+ ///
+ /// 查找类似 请输入... 的本地化字符串。
+ ///
+ public static string PleaseInput = nameof(PleaseInput);
+
+ ///
+ /// 查找类似 请稍后... 的本地化字符串。
+ ///
+ public static string PleaseWait = nameof(PleaseWait);
+
+ ///
+ /// 查找类似 请输入内容 的本地化字符串。
+ ///
+ public static string PlsEnterContent = nameof(PlsEnterContent);
+
+ ///
+ /// 查找类似 请输入邮箱 的本地化字符串。
+ ///
+ public static string PlsEnterEmail = nameof(PlsEnterEmail);
+
+ ///
+ /// 查找类似 请输入关键字 的本地化字符串。
+ ///
+ public static string PlsEnterKey = nameof(PlsEnterKey);
+
+ ///
+ /// 查找类似 气泡提示 的本地化字符串。
+ ///
+ public static string Poptip = nameof(Poptip);
+
+ ///
+ /// 查找类似 上左;上边;上右;右上;右边;右下;下右;下边;下左;左下;左边;左上 的本地化字符串。
+ ///
+ public static string PoptipPositionStr = nameof(PoptipPositionStr);
+
+ ///
+ /// 查找类似 实用例子 的本地化字符串。
+ ///
+ public static string PracticalDemos = nameof(PracticalDemos);
+
+ ///
+ /// 查找类似 上一步 的本地化字符串。
+ ///
+ public static string Prev = nameof(Prev);
+
+ ///
+ /// 查找类似 预览滑块 的本地化字符串。
+ ///
+ public static string PreviewSlider = nameof(PreviewSlider);
+
+ ///
+ /// 查找类似 主要 的本地化字符串。
+ ///
+ public static string Primary = nameof(Primary);
+
+ ///
+ /// 查找类似 进度条 的本地化字符串。
+ ///
+ public static string ProgressBar = nameof(ProgressBar);
+
+ ///
+ /// 查找类似 进度按钮 的本地化字符串。
+ ///
+ public static string ProgressButton = nameof(ProgressButton);
+
+ ///
+ /// 查找类似 项目 的本地化字符串。
+ ///
+ public static string Project = nameof(Project);
+
+ ///
+ /// 查找类似 按住说话 的本地化字符串。
+ ///
+ public static string PushToTalk = nameof(PushToTalk);
+
+ ///
+ /// 查找类似 QQ群 的本地化字符串。
+ ///
+ public static string QQGroup = nameof(QQGroup);
+
+ ///
+ /// 查找类似 单选按钮 的本地化字符串。
+ ///
+ public static string RadioButton = nameof(RadioButton);
+
+ ///
+ /// 查找类似 范围滑块 的本地化字符串。
+ ///
+ public static string RangeSlider = nameof(RangeSlider);
+
+ ///
+ /// 查找类似 评分 的本地化字符串。
+ ///
+ public static string Rate = nameof(Rate);
+
+ ///
+ /// 查找类似 群友推荐 的本地化字符串。
+ ///
+ public static string Recommendation = nameof(Recommendation);
+
+ ///
+ /// 查找类似 注册 的本地化字符串。
+ ///
+ public static string Register = nameof(Register);
+
+ ///
+ /// 查找类似 相对布局 的本地化字符串。
+ ///
+ public static string RelativePanel = nameof(RelativePanel);
+
+ ///
+ /// 查找类似 备注 的本地化字符串。
+ ///
+ public static string Remark = nameof(Remark);
+
+ ///
+ /// 查找类似 删除项 的本地化字符串。
+ ///
+ public static string RemoveItem = nameof(RemoveItem);
+
+ ///
+ /// 查找类似 重复按钮 的本地化字符串。
+ ///
+ public static string RepeatButton = nameof(RepeatButton);
+
+ ///
+ /// 查找类似 回复 的本地化字符串。
+ ///
+ public static string Reply = nameof(Reply);
+
+ ///
+ /// 查找类似 代码仓库 的本地化字符串。
+ ///
+ public static string Repository = nameof(Repository);
+
+ ///
+ /// 查找类似 响应式布局 的本地化字符串。
+ ///
+ public static string ResponsiveLayout = nameof(ResponsiveLayout);
+
+ ///
+ /// 查找类似 富文本框 的本地化字符串。
+ ///
+ public static string RichTextBox = nameof(RichTextBox);
+
+ ///
+ /// 查找类似 在这里右击 的本地化字符串。
+ ///
+ public static string RightClickHere = nameof(RightClickHere);
+
+ ///
+ /// 查找类似 滚动块 的本地化字符串。
+ ///
+ public static string RunningBlock = nameof(RunningBlock);
+
+ ///
+ /// 查找类似 截图 的本地化字符串。
+ ///
+ public static string Screenshot = nameof(Screenshot);
+
+ ///
+ /// 查找类似 滚动视图 的本地化字符串。
+ ///
+ public static string ScrollViewer = nameof(ScrollViewer);
+
+ ///
+ /// 查找类似 搜索栏 的本地化字符串。
+ ///
+ public static string SearchBar = nameof(SearchBar);
+
+ ///
+ /// 查找类似 秒 的本地化字符串。
+ ///
+ public static string Second = nameof(Second);
+
+ ///
+ /// 查找类似 选中 的本地化字符串。
+ ///
+ public static string Selected = nameof(Selected);
+
+ ///
+ /// 查找类似 发送通知 的本地化字符串。
+ ///
+ public static string SendNotification = nameof(SendNotification);
+
+ ///
+ /// 查找类似 徽章 的本地化字符串。
+ ///
+ public static string Shield = nameof(Shield);
+
+ ///
+ /// 查找类似 在当前窗口显示 的本地化字符串。
+ ///
+ public static string ShowInCurrentWindow = nameof(ShowInCurrentWindow);
+
+ ///
+ /// 查找类似 在主窗口显示 的本地化字符串。
+ ///
+ public static string ShowInMainWindow = nameof(ShowInMainWindow);
+
+ ///
+ /// 查找类似 显示行号 的本地化字符串。
+ ///
+ public static string ShowRowNumber = nameof(ShowRowNumber);
+
+ ///
+ /// 查找类似 侧边菜单 的本地化字符串。
+ ///
+ public static string SideMenu = nameof(SideMenu);
+
+ ///
+ /// 查找类似 滑块 的本地化字符串。
+ ///
+ public static string Slider = nameof(Slider);
+
+ ///
+ /// 查找类似 分割按钮 的本地化字符串。
+ ///
+ public static string SplitButton = nameof(SplitButton);
+
+ ///
+ /// 查找类似 精灵 的本地化字符串。
+ ///
+ public static string Sprite = nameof(Sprite);
+
+ ///
+ /// 查找类似 开始截图 的本地化字符串。
+ ///
+ public static string StartScreenshot = nameof(StartScreenshot);
+
+ ///
+ /// 查找类似 保持打开 的本地化字符串。
+ ///
+ public static string StaysOpen = nameof(StaysOpen);
+
+ ///
+ /// 查找类似 步骤 的本地化字符串。
+ ///
+ public static string Step = nameof(Step);
+
+ ///
+ /// 查找类似 步骤条 的本地化字符串。
+ ///
+ public static string StepBar = nameof(StepBar);
+
+ ///
+ /// 查找类似 样式模板 的本地化字符串。
+ ///
+ public static string Styles = nameof(Styles);
+
+ ///
+ /// 查找类似 子标题 的本地化字符串。
+ ///
+ public static string SubTitle = nameof(SubTitle);
+
+ ///
+ /// 查找类似 成功 的本地化字符串。
+ ///
+ public static string Success = nameof(Success);
+
+ ///
+ /// 查找类似 选项卡控件 的本地化字符串。
+ ///
+ public static string TabControl = nameof(TabControl);
+
+ ///
+ /// 查找类似 标签 的本地化字符串。
+ ///
+ public static string Tag = nameof(Tag);
+
+ ///
+ /// 查找类似 正文 的本地化字符串。
+ ///
+ public static string Text = nameof(Text);
+
+ ///
+ /// 查找类似 文本块 的本地化字符串。
+ ///
+ public static string TextBlock = nameof(TextBlock);
+
+ ///
+ /// 查找类似 文本框 的本地化字符串。
+ ///
+ public static string TextBox = nameof(TextBox);
+
+ ///
+ /// 查找类似 文本对话框 的本地化字符串。
+ ///
+ public static string TextDialog = nameof(TextDialog);
+
+ ///
+ /// 查找类似 文本对话框(控件中) 的本地化字符串。
+ ///
+ public static string TextDialogInControl = nameof(TextDialogInControl);
+
+ ///
+ /// 查找类似 文本对话框,带计时器 的本地化字符串。
+ ///
+ public static string TextDialogWithTimer = nameof(TextDialogWithTimer);
+
+ ///
+ /// 查找类似 时间条 的本地化字符串。
+ ///
+ public static string TimeBar = nameof(TimeBar);
+
+ ///
+ /// 查找类似 时间选择器 的本地化字符串。
+ ///
+ public static string TimePicker = nameof(TimePicker);
+
+ ///
+ /// 查找类似 提示 的本地化字符串。
+ ///
+ public static string Tip = nameof(Tip);
+
+ ///
+ /// 查找类似 标题 的本地化字符串。
+ ///
+ public static string Title = nameof(Title);
+
+ ///
+ /// 查找类似 这是标题 的本地化字符串。
+ ///
+ public static string TitleDemoStr1 = nameof(TitleDemoStr1);
+
+ ///
+ /// 查找类似 此项必填 的本地化字符串。
+ ///
+ public static string TitleDemoStr2 = nameof(TitleDemoStr2);
+
+ ///
+ /// 查找类似 标题在左侧 的本地化字符串。
+ ///
+ public static string TitleDemoStr3 = nameof(TitleDemoStr3);
+
+ ///
+ /// 查找类似 切换按钮 的本地化字符串。
+ ///
+ public static string ToggleButton = nameof(ToggleButton);
+
+ ///
+ /// 查找类似 工具条 的本地化字符串。
+ ///
+ public static string ToolBar = nameof(ToolBar);
+
+ ///
+ /// 查找类似 工具 的本地化字符串。
+ ///
+ public static string Tools = nameof(Tools);
+
+ ///
+ /// 查找类似 穿梭框 的本地化字符串。
+ ///
+ public static string Transfer = nameof(Transfer);
+
+ ///
+ /// 查找类似 内容过渡控件 的本地化字符串。
+ ///
+ public static string TransitioningContentControl = nameof(TransitioningContentControl);
+
+ ///
+ /// 查找类似 树视图 的本地化字符串。
+ ///
+ public static string TreeView = nameof(TreeView);
+
+ ///
+ /// 查找类似 试试关闭程序吧? 的本地化字符串。
+ ///
+ public static string Try2CloseApp = nameof(Try2CloseApp);
+
+ ///
+ /// 查找类似 类型 的本地化字符串。
+ ///
+ public static string Type = nameof(Type);
+
+ ///
+ /// 查找类似 上传文件 的本地化字符串。
+ ///
+ public static string UploadFile = nameof(UploadFile);
+
+ ///
+ /// 查找类似 上传;上传中 的本地化字符串。
+ ///
+ public static string UploadStr = nameof(UploadStr);
+
+ ///
+ /// 查找类似 可见性 的本地化字符串。
+ ///
+ public static string Visibility = nameof(Visibility);
+
+ ///
+ /// 查找类似 VS 插件 的本地化字符串。
+ ///
+ public static string Vsix = nameof(Vsix);
+
+ ///
+ /// 查找类似 警告 的本地化字符串。
+ ///
+ public static string Warning = nameof(Warning);
+
+ ///
+ /// 查找类似 瀑布流 的本地化字符串。
+ ///
+ public static string WaterfallPanel = nameof(WaterfallPanel);
+
+ ///
+ /// 查找类似 网站 的本地化字符串。
+ ///
+ public static string Website = nameof(Website);
+
+ ///
+ /// 查找类似 窗口 的本地化字符串。
+ ///
+ public static string Window = nameof(Window);
+
+ }
+}
\ No newline at end of file
diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.tt b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.tt
similarity index 93%
rename from src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.tt
rename to src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.tt
index ff00064c..ae2907da 100644
--- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangDecorator.tt
+++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.tt
@@ -25,9 +25,9 @@ using HandyControl.Tools;
namespace HandyControlDemo.Properties.Langs
{
- public class LangDecorator : INotifyPropertyChanged
+ public class LangProvider : INotifyPropertyChanged
{
- internal static LangDecorator Instance => ResourceHelper.GetResource("DemoLangs");
+ internal static LangProvider Instance => ResourceHelper.GetResource("DemoLangs");
private static string CultureInfoStr;
diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs b/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs
index 1e7553cc..00f8d96d 100644
--- a/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs
+++ b/src/Shared/HandyControlDemo_Shared/Tools/Extension/LangExtension.cs
@@ -6,7 +6,7 @@ namespace HandyControlDemo.Tools.Extension
{
public LangExtension()
{
- Source = LangDecorator.Instance;
+ Source = LangProvider.Instance;
}
}
}
diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs
index c7a15300..f3251b74 100644
--- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs
+++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/TagDemoCtl.xaml.cs
@@ -16,7 +16,7 @@ namespace HandyControlDemo.UserControl
if (sender is TagPanel panel)
{
var tag = new Tag();
- LangDecorator.SetLang(tag, ContentProperty, LangKeys.SubTitle);
+ LangProvider.SetLang(tag, ContentProperty, LangKeys.SubTitle);
panel.Children.Add(tag);
}
}
diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml.cs
index 8d241ca6..a44361b1 100644
--- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml.cs
+++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml.cs
@@ -24,7 +24,7 @@ namespace HandyControlDemo.UserControl
PopupConfig.IsOpen = false;
if (tag.Equals(GlobalData.Config.Lang)) return;
ConfigHelper.Instance.SetLang(tag);
- LangDecorator.Culture = new CultureInfo(tag);
+ LangProvider.Culture = new CultureInfo(tag);
Messenger.Default.Send