This commit is contained in:
NaBian committed 2019-03-07 18:11:32 +08:00
1 parent 56cccc2809
commit a2d947a389
27 files changed
+127 -88

No files matched your search

@@ -0,0 +1,54 @@
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using HandyControl.Data;
namespace HandyControl.Controls
{
public class WaveProgressBar : RangeBase
{
static WaveProgressBar()
{
FocusableProperty.OverrideMetadata(typeof(CircleProgressBar),
new FrameworkPropertyMetadata(ValueBoxes.FalseBox));
MaximumProperty.OverrideMetadata(typeof(CircleProgressBar),
new FrameworkPropertyMetadata(ValueBoxes.Double100Box));
}
public static readonly DependencyProperty TextProperty = DependencyProperty.Register(
"Text", typeof(string), typeof(WaveProgressBar), new PropertyMetadata(default(string)));
public string Text
{
get => (string)GetValue(TextProperty);
set => SetValue(TextProperty, value);
}
public static readonly DependencyProperty ShowTextProperty = DependencyProperty.Register(
"ShowText", typeof(bool), typeof(WaveProgressBar), new PropertyMetadata(ValueBoxes.TrueBox));
public bool ShowText
{
get => (bool)GetValue(ShowTextProperty);
set => SetValue(ShowTextProperty, value);
}
public static readonly DependencyProperty WaveBrushProperty = DependencyProperty.Register(
"WaveBrush", typeof(Brush), typeof(WaveProgressBar), new PropertyMetadata(default(Brush)));
public Brush WaveBrush
{
get => (Brush)GetValue(WaveBrushProperty);
set => SetValue(WaveBrushProperty, value);
}
public static readonly DependencyProperty WaveDiameterProperty = DependencyProperty.Register(
"WaveDiameter", typeof(double), typeof(WaveProgressBar), new PropertyMetadata(default(double)));
public double WaveDiameter
{
get => (double)GetValue(WaveDiameterProperty);
set => SetValue(WaveDiameterProperty, value);
}
}
}
+2 -1
View File
@@ -117,11 +117,12 @@
<Compile Include="Controls\Other\GotoTop.cs" /> <Compile Include="Controls\Other\GotoTop.cs" />
<Compile Include="Controls\Other\Gravatar.cs" /> <Compile Include="Controls\Other\Gravatar.cs" />
<Compile Include="Controls\Panel\SimplePanel.cs" /> <Compile Include="Controls\Panel\SimplePanel.cs" />
<Compile Include="Controls\ProgressBar\WaveProgressBar.cs" />
<Compile Include="Controls\Transfer\Transfer.cs" /> <Compile Include="Controls\Transfer\Transfer.cs" />
<Compile Include="Controls\Transfer\TransferGroup.cs" /> <Compile Include="Controls\Transfer\TransferGroup.cs" />
<Compile Include="Controls\Transfer\TransferItem.cs" /> <Compile Include="Controls\Transfer\TransferItem.cs" />
<Compile Include="Controls\Panel\CirclePanel.cs" /> <Compile Include="Controls\Panel\CirclePanel.cs" />
<Compile Include="Controls\Other\CircleProgressBar.cs" /> <Compile Include="Controls\ProgressBar\CircleProgressBar.cs" />
<Compile Include="Controls\Other\RadioGroup.cs" /> <Compile Include="Controls\Other\RadioGroup.cs" />
<Compile Include="Controls\Other\Shield.cs" /> <Compile Include="Controls\Other\Shield.cs" />
<Compile Include="Controls\Panel\WaterfallPanel.cs" /> <Compile Include="Controls\Panel\WaterfallPanel.cs" />
+8 -8
View File
@@ -36,7 +36,7 @@
public static readonly string PreviewSliderDemoCtl = nameof(PreviewSliderDemoCtl); 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); public static readonly string TextBoxDemoCtl = nameof(TextBoxDemoCtl);
@@ -94,23 +94,23 @@
public static readonly string ExpanderDemoCtl = nameof(ExpanderDemoCtl); 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 TabControlDemoCtl = nameof(TabControlDemoCtl);
public static readonly string CalendarDemoCtl = nameof(CalendarDemoCtl); 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 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); public static readonly string DataGridDemoCtl = nameof(DataGridDemoCtl);
@@ -126,7 +126,7 @@
public static readonly string RadioButtonDemoCtl = nameof(RadioButtonDemoCtl); 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); public static readonly string BrushDemoCtl = nameof(BrushDemoCtl);
+8 -8
View File
@@ -21,7 +21,7 @@ var controlList = new List<string>
"WindowDemoCtl", "WindowDemoCtl",
"ScrollViewerDemoCtl", "ScrollViewerDemoCtl",
"PreviewSliderDemoCtl", "PreviewSliderDemoCtl",
"CircleProgressBarDemoCtl", "ProgressBarDemoCtl",
"TextBoxDemoCtl", "TextBoxDemoCtl",
"ComboBoxDemoCtl", "ComboBoxDemoCtl",
"PasswordBoxDemoCtl", "PasswordBoxDemoCtl",
@@ -53,15 +53,15 @@ var styleList = new List<string>
"ButtonDemoCtl", "ButtonDemoCtl",
"ToggleButtonDemoCtl", "ToggleButtonDemoCtl",
"ExpanderDemoCtl", "ExpanderDemoCtl",
"ProgressBarDemoCtl", "NativeProgressBarDemoCtl",
"TabControlDemoCtl", "TabControlDemoCtl",
"CalendarDemoCtl", "CalendarDemoCtl",
"NaiveDatePickerDemoCtl", "NativeDatePickerDemoCtl",
"NaiveTextBoxDemoCtl", "NativeTextBoxDemoCtl",
"TextBlockDemoCtl", "TextBlockDemoCtl",
"NaiveComboBoxDemoCtl", "NativeComboBoxDemoCtl",
"NaivePasswordBoxDemoCtl", "NativePasswordBoxDemoCtl",
"NaiveTabControlDemoCtl", "NativeTabControlDemoCtl",
"DataGridDemoCtl", "DataGridDemoCtl",
"CheckBoxDemoCtl", "CheckBoxDemoCtl",
"ListBoxDemoCtl", "ListBoxDemoCtl",
@@ -69,7 +69,7 @@ var styleList = new List<string>
"TreeViewDemoCtl", "TreeViewDemoCtl",
"BorderDemoCtl", "BorderDemoCtl",
"RadioButtonDemoCtl", "RadioButtonDemoCtl",
"NaiveScrollViewerDemoCtl", "NativeScrollViewerDemoCtl",
"BrushDemoCtl", "BrushDemoCtl",
"SliderDemoCtl", "SliderDemoCtl",
"GroupBoxDemoCtl", "GroupBoxDemoCtl",
+24 -25
View File
@@ -148,8 +148,8 @@
<Compile Include="UserControl\Controls\CirclePanelDemoCtl.xaml.cs"> <Compile Include="UserControl\Controls\CirclePanelDemoCtl.xaml.cs">
<DependentUpon>CirclePanelDemoCtl.xaml</DependentUpon> <DependentUpon>CirclePanelDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Controls\CircleProgressBarDemoCtl.xaml.cs"> <Compile Include="UserControl\Controls\ProgressBarDemoCtl.xaml.cs">
<DependentUpon>CircleProgressBarDemoCtl.xaml</DependentUpon> <DependentUpon>ProgressBarDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Controls\ClockDemoCtl.xaml.cs"> <Compile Include="UserControl\Controls\ClockDemoCtl.xaml.cs">
<DependentUpon>ClockDemoCtl.xaml</DependentUpon> <DependentUpon>ClockDemoCtl.xaml</DependentUpon>
@@ -280,14 +280,14 @@
<Compile Include="UserControl\Styles\ListViewDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\ListViewDemoCtl.xaml.cs">
<DependentUpon>ListViewDemoCtl.xaml</DependentUpon> <DependentUpon>ListViewDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\NaiveComboBoxDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativeComboBoxDemoCtl.xaml.cs">
<DependentUpon>NaiveComboBoxDemoCtl.xaml</DependentUpon> <DependentUpon>NativeComboBoxDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\DataGridDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\DataGridDemoCtl.xaml.cs">
<DependentUpon>DataGridDemoCtl.xaml</DependentUpon> <DependentUpon>DataGridDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\NaiveDatePickerDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativeDatePickerDemoCtl.xaml.cs">
<DependentUpon>NaiveDatePickerDemoCtl.xaml</DependentUpon> <DependentUpon>NativeDatePickerDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\ExpanderDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\ExpanderDemoCtl.xaml.cs">
<DependentUpon>ExpanderDemoCtl.xaml</DependentUpon> <DependentUpon>ExpanderDemoCtl.xaml</DependentUpon>
@@ -310,17 +310,17 @@
<Compile Include="UserControl\Styles\MenuDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\MenuDemoCtl.xaml.cs">
<DependentUpon>MenuDemoCtl.xaml</DependentUpon> <DependentUpon>MenuDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\NaiveScrollViewerDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativeScrollViewerDemoCtl.xaml.cs">
<DependentUpon>NaiveScrollViewerDemoCtl.xaml</DependentUpon> <DependentUpon>NativeScrollViewerDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\NaiveTabControlDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativeTabControlDemoCtl.xaml.cs">
<DependentUpon>NaiveTabControlDemoCtl.xaml</DependentUpon> <DependentUpon>NativeTabControlDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\NaivePasswordBoxDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativePasswordBoxDemoCtl.xaml.cs">
<DependentUpon>NaivePasswordBoxDemoCtl.xaml</DependentUpon> <DependentUpon>NativePasswordBoxDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\ProgressBarDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativeProgressBarDemoCtl.xaml.cs">
<DependentUpon>ProgressBarDemoCtl.xaml</DependentUpon> <DependentUpon>NativeProgressBarDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Controls\TabControlDemoCtl.xaml.cs"> <Compile Include="UserControl\Controls\TabControlDemoCtl.xaml.cs">
<DependentUpon>TabControlDemoCtl.xaml</DependentUpon> <DependentUpon>TabControlDemoCtl.xaml</DependentUpon>
@@ -337,8 +337,8 @@
<Compile Include="UserControl\Styles\TextBlockDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\TextBlockDemoCtl.xaml.cs">
<DependentUpon>TextBlockDemoCtl.xaml</DependentUpon> <DependentUpon>TextBlockDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\NaiveTextBoxDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\NativeTextBoxDemoCtl.xaml.cs">
<DependentUpon>NaiveTextBoxDemoCtl.xaml</DependentUpon> <DependentUpon>NativeTextBoxDemoCtl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="UserControl\Styles\ToggleButtonDemoCtl.xaml.cs"> <Compile Include="UserControl\Styles\ToggleButtonDemoCtl.xaml.cs">
<DependentUpon>ToggleButtonDemoCtl.xaml</DependentUpon> <DependentUpon>ToggleButtonDemoCtl.xaml</DependentUpon>
@@ -464,7 +464,7 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Controls\CircleProgressBarDemoCtl.xaml"> <Page Include="UserControl\Controls\ProgressBarDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
@@ -640,7 +640,7 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\NaiveComboBoxDemoCtl.xaml"> <Page Include="UserControl\Styles\NativeComboBoxDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
@@ -648,7 +648,7 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\NaiveDatePickerDemoCtl.xaml"> <Page Include="UserControl\Styles\NativeDatePickerDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
@@ -680,19 +680,19 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\NaiveScrollViewerDemoCtl.xaml"> <Page Include="UserControl\Styles\NativeScrollViewerDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\NaiveTabControlDemoCtl.xaml"> <Page Include="UserControl\Styles\NativeTabControlDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\NaivePasswordBoxDemoCtl.xaml"> <Page Include="UserControl\Styles\NativePasswordBoxDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\ProgressBarDemoCtl.xaml"> <Page Include="UserControl\Styles\NativeProgressBarDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
@@ -716,7 +716,7 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="UserControl\Styles\NaiveTextBoxDemoCtl.xaml"> <Page Include="UserControl\Styles\NativeTextBoxDemoCtl.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
@@ -843,7 +843,6 @@
<Resource Include="Resources\Img\LeftMainContent\Flow_16x.png" /> <Resource Include="Resources\Img\LeftMainContent\Flow_16x.png" />
<Resource Include="Resources\Img\LeftMainContent\TimePicker_16x.png" /> <Resource Include="Resources\Img\LeftMainContent\TimePicker_16x.png" />
<Resource Include="Resources\Img\LeftMainContent\Time_color_16x.png" /> <Resource Include="Resources\Img\LeftMainContent\Time_color_16x.png" />
<Resource Include="Resources\Img\LeftMainContent\ShapeArcRing_16x.png" />
<Resource Include="Resources\Img\LeftMainContent\NumericListBox_16x.png" /> <Resource Include="Resources\Img\LeftMainContent\NumericListBox_16x.png" />
<Resource Include="Resources\Img\LeftMainContent\Toggle_16x.png" /> <Resource Include="Resources\Img\LeftMainContent\Toggle_16x.png" />
<Resource Include="Resources\Img\LeftMainContent\DataGrid_16x.png" /> <Resource Include="Resources\Img\LeftMainContent\DataGrid_16x.png" />
-9
View File
@@ -222,15 +222,6 @@ namespace HandyControlDemo.Properties.Langs {
} }
} }
/// <summary>
/// 查找类似 圆形进度条 的本地化字符串。
/// </summary>
public static string CircleProgressBar {
get {
return ResourceManager.GetString("CircleProgressBar", resourceCulture);
}
}
/// <summary> /// <summary>
/// 查找类似 清空 的本地化字符串。 /// 查找类似 清空 的本地化字符串。
/// </summary> /// </summary>
@@ -387,9 +387,6 @@
<data name="Slider" xml:space="preserve"> <data name="Slider" xml:space="preserve">
<value>Slider</value> <value>Slider</value>
</data> </data>
<data name="CircleProgressBar" xml:space="preserve">
<value>CircleProgressBar</value>
</data>
<data name="IsNotPhone" xml:space="preserve"> <data name="IsNotPhone" xml:space="preserve">
<value>It's not a phone number</value> <value>It's not a phone number</value>
</data> </data>
@@ -387,9 +387,6 @@
<data name="Slider" xml:space="preserve"> <data name="Slider" xml:space="preserve">
<value>滑块</value> <value>滑块</value>
</data> </data>
<data name="CircleProgressBar" xml:space="preserve">
<value>圆形进度条</value>
</data>
<data name="IsNotPhone" xml:space="preserve"> <data name="IsNotPhone" xml:space="preserve">
<value>不是手机号码</value> <value>不是手机号码</value>
</data> </data>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 B

@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.CircleProgressBarDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.ProgressBarDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -59,7 +59,7 @@
<Image Source="../../Resources/Img/LeftMainContent/CheckBox_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/CheckBox_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.NaiveScrollViewerDemoCtl}" Content="{x:Static langs:Lang.ScrollViewer}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativeScrollViewerDemoCtl}" Content="{x:Static langs:Lang.ScrollViewer}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/ScrollBox_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/ScrollBox_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
@@ -74,17 +74,17 @@
<Image Source="../../Resources/Img/LeftMainContent/TextBlock_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/TextBlock_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.NaiveTextBoxDemoCtl}" Content="{x:Static langs:Lang.TextBox}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativeTextBoxDemoCtl}" Content="{x:Static langs:Lang.TextBox}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/TextBox_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/TextBox_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.NaiveComboBoxDemoCtl}" Content="{x:Static langs:Lang.ComboBox}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativeComboBoxDemoCtl}" Content="{x:Static langs:Lang.ComboBox}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/ComboBox_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/ComboBox_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.NaivePasswordBoxDemoCtl}" Content="{x:Static langs:Lang.PasswordBox}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativePasswordBoxDemoCtl}" Content="{x:Static langs:Lang.PasswordBox}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/PasswordBox_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/PasswordBox_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
@@ -94,7 +94,7 @@
<Image Source="../../Resources/Img/LeftMainContent/Expander_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/Expander_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.ProgressBarDemoCtl}" Content="{x:Static langs:Lang.ProgressBar}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativeProgressBarDemoCtl}" Content="{x:Static langs:Lang.ProgressBar}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/ProgressBar_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/ProgressBar_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
@@ -104,12 +104,12 @@
<Image Source="../../Resources/Img/LeftMainContent/Calendar_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/Calendar_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.NaiveDatePickerDemoCtl}" Content="{x:Static langs:Lang.DatePicker}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativeDatePickerDemoCtl}" Content="{x:Static langs:Lang.DatePicker}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/DatePicker_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/DatePicker_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.NaiveTabControlDemoCtl}" Content="{x:Static langs:Lang.TabControl}"> <ListBoxItem Tag="{x:Static data:MessageToken.NativeTabControlDemoCtl}" Content="{x:Static langs:Lang.TabControl}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/TabPage_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/TabPage_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
@@ -318,9 +318,9 @@
<Image Source="../../Resources/Img/LeftMainContent/LinearCarousel_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/LinearCarousel_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.CircleProgressBarDemoCtl}" Content="{x:Static langs:Lang.CircleProgressBar}"> <ListBoxItem Tag="{x:Static data:MessageToken.ProgressBarDemoCtl}" Content="{x:Static langs:Lang.ProgressBar}">
<controls:EdgeElement.LeftContent> <controls:EdgeElement.LeftContent>
<Image Source="../../Resources/Img/LeftMainContent/ShapeArcRing_16x.png"/> <Image Source="../../Resources/Img/LeftMainContent/ProgressBar_16x.png"/>
</controls:EdgeElement.LeftContent> </controls:EdgeElement.LeftContent>
</ListBoxItem> </ListBoxItem>
<ListBoxItem Tag="{x:Static data:MessageToken.StepBarDemoCtl}" Content="{x:Static langs:Lang.StepBar}"> <ListBoxItem Tag="{x:Static data:MessageToken.StepBarDemoCtl}" Content="{x:Static langs:Lang.StepBar}">
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.NaiveComboBoxDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativeComboBoxDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -1,8 +1,8 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class NaiveComboBoxDemoCtl public partial class NativeComboBoxDemoCtl
{ {
public NaiveComboBoxDemoCtl() public NativeComboBoxDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.NaiveDatePickerDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativeDatePickerDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -1,8 +1,8 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class NaiveDatePickerDemoCtl public partial class NativeDatePickerDemoCtl
{ {
public NaiveDatePickerDemoCtl() public NativeDatePickerDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.NaivePasswordBoxDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativePasswordBoxDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -1,8 +1,8 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class NaivePasswordBoxDemoCtl public partial class NativePasswordBoxDemoCtl
{ {
public NaivePasswordBoxDemoCtl() public NativePasswordBoxDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.ProgressBarDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativeProgressBarDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="{DynamicResource RegionBrush}" Background="{DynamicResource RegionBrush}"
@@ -1,9 +1,9 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class NaiveScrollViewerDemoCtl public partial class NativeProgressBarDemoCtl
{ {
public NaiveScrollViewerDemoCtl() public NativeProgressBarDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.NaiveScrollViewerDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativeScrollViewerDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -1,9 +1,9 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class CircleProgressBarDemoCtl public partial class NativeScrollViewerDemoCtl
{ {
public CircleProgressBarDemoCtl() public NativeScrollViewerDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.NaiveTabControlDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativeTabControlDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -1,9 +1,9 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class NaiveTabControlDemoCtl public partial class NativeTabControlDemoCtl
{ {
public NaiveTabControlDemoCtl() public NativeTabControlDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }
@@ -1,4 +1,4 @@
<UserControl x:Class="HandyControlDemo.UserControl.NaiveTextBoxDemoCtl" <UserControl x:Class="HandyControlDemo.UserControl.NativeTextBoxDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
@@ -1,9 +1,9 @@
namespace HandyControlDemo.UserControl namespace HandyControlDemo.UserControl
{ {
public partial class NaiveTextBoxDemoCtl public partial class NativeTextBoxDemoCtl
{ {
public NaiveTextBoxDemoCtl() public NativeTextBoxDemoCtl()
{ {
InitializeComponent(); InitializeComponent();
} }