add TextBox control
now you can clear and verify the text of textbox
This commit is contained in:
1 parent
9c5174c7a2
commit
bc2bd5413c
35 files changed
+369
-135
No files matched your search
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// AnimationPathDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class AnimationPathDemoCtl
|
||||
{
|
||||
public AnimationPathDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// CarouselDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class CarouselDemoCtl
|
||||
{
|
||||
public CarouselDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// ClockDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class ClockDemoCtl
|
||||
{
|
||||
public ClockDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// ColorPickerDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class ColorPickerDemoCtl
|
||||
{
|
||||
public ColorPickerDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// CompareSliderDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class CompareSliderDemoCtl
|
||||
{
|
||||
public CompareSliderDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// LoadingDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class LoadingDemoCtl
|
||||
{
|
||||
public LoadingDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// PaginationDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class PaginationDemoCtl
|
||||
{
|
||||
public PaginationDemoCtl()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// TabControlDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class TabControlDemoCtl
|
||||
{
|
||||
public TabControlDemoCtl()
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<UserControl x:Class="HandyControlDemo.UserControl.TextBoxDemoCtl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Background="{DynamicResource RegionBrush}"
|
||||
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
|
||||
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl">
|
||||
<controls:TransitioningContentControl>
|
||||
<StackPanel Margin="32">
|
||||
<controls:TextBox ShowClearButton="True" Text="{x:Static langs:Lang.ContentDemoStr}"/>
|
||||
<controls:TextBox Text="{x:Static langs:Lang.ContentDemoStr}" Margin="0,16,0,0" IsEnabled="False"/>
|
||||
|
||||
<controls:TextBox ShowClearButton="True" controls:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr1}" Margin="0,32,0,0" Text="{x:Static langs:Lang.ContentDemoStr}"/>
|
||||
<controls:TextBox TextType="Mail" controls:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterEmail}" controls:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}" controls:InfoElement.Necessary="True" Margin="0,16,0,0"/>
|
||||
<controls:TextBox Width="380" controls:InfoElement.TitleWidth="140" controls:InfoElement.TitleAlignment="Left" controls:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr3}" Margin="0,32,0,0" Text="{x:Static langs:Lang.ContentDemoStr}"/>
|
||||
<controls:TextBox ShowClearButton="True" Width="380" controls:InfoElement.TitleWidth="140" controls:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterContent}" controls:InfoElement.TitleAlignment="Left" controls:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr3}" controls:InfoElement.Necessary="True" Margin="0,16,0,0"/>
|
||||
</StackPanel>
|
||||
</controls:TransitioningContentControl>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,11 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
public partial class TextBoxDemoCtl
|
||||
{
|
||||
public TextBoxDemoCtl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,6 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// TimeBarDemoCtl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class TimeBarDemoCtl
|
||||
{
|
||||
public TimeBarDemoCtl()
|
||||
|
||||
Reference in new issue
Block a user