merged pr/347
This commit is contained in:
1 parent
aead17d5b7
commit
501a637689
7 files changed
+9
-37
No files matched your search
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
title: 建设中
|
|
||||||
---
|
|
||||||
|
|
||||||
建设中
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Clock
|
title: Clock 时钟
|
||||||
---
|
---
|
||||||
|
|
||||||
Clock 控件展示一个虚拟的时钟,允许用户在这个时钟上选择时间。
|
Clock 控件展示一个虚拟的时钟,允许用户在这个时钟上选择时间。
|
||||||
@@ -29,9 +29,7 @@ var clock = new Clock();
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
# 选择时间
|
||||||
|
|
||||||
# 选择s时间
|
|
||||||
|
|
||||||
可以通过点击左边的时钟,或者点击右边的时分秒列表选择时间。也可以在XAML钟或代码中这样设置日期。
|
可以通过点击左边的时钟,或者点击右边的时分秒列表选择时间。也可以在XAML钟或代码中这样设置日期。
|
||||||
|
|
||||||
@@ -43,11 +41,6 @@ var clock = new Clock();
|
|||||||
clock.SelectedTime = DateTime.Now;
|
clock.SelectedTime = DateTime.Now;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 属性
|
# 属性
|
||||||
|
|
||||||
| 属性 | 描述 |
|
| 属性 | 描述 |
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: 建设中
|
title: 扩展控件
|
||||||
---
|
---
|
||||||
|
|
||||||
建设中
|
HandyControl目前包含70余款扩展控件,正逐步增加。
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: PasswordBox
|
title: PasswordBox 密码框
|
||||||
---
|
---
|
||||||
|
|
||||||
表示用于输入和处理密码的控件。
|
表示用于输入和处理密码的控件。
|
||||||
@@ -20,7 +20,6 @@ public class PasswordBox : Control, IDataInput
|
|||||||
var passwordBox = new PasswordBox();
|
var passwordBox = new PasswordBox();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
# 输入密码
|
# 输入密码
|
||||||
|
|
||||||
可以通过文本框输入密码,也可以在XAML钟或代码中这样设置日期。
|
可以通过文本框输入密码,也可以在XAML钟或代码中这样设置日期。
|
||||||
@@ -37,7 +36,9 @@ passwordBox.Password = "123456";
|
|||||||
|
|
||||||
PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置为`true`,PasswordBox将显示一个“眼睛”的按钮,点击这个按钮即可显示已输入的密码。
|
PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置为`true`,PasswordBox将显示一个“眼睛”的按钮,点击这个按钮即可显示已输入的密码。
|
||||||
|
|
||||||
|
``` XML
|
||||||
<hc:PasswordBox ShowClearButton="True"/>
|
<hc:PasswordBox ShowClearButton="True"/>
|
||||||
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -51,9 +52,6 @@ PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置
|
|||||||
hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}"
|
hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 属性
|
# 属性
|
||||||
|
|
||||||
| 属性 | 描述 |
|
| 属性 | 描述 |
|
||||||
@@ -77,4 +75,3 @@ PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置
|
|||||||
| Paste() | 用剪贴板中的内容替换 PasswordBox 中的当前选定内容。 |
|
| Paste() | 用剪贴板中的内容替换 PasswordBox 中的当前选定内容。 |
|
||||||
| SelectAll() | 选择 PasswordBox 中的全部内容。 |
|
| SelectAll() | 选择 PasswordBox 中的全部内容。 |
|
||||||
| VerifyData() | 验证数据。 |
|
| VerifyData() | 验证数据。 |
|
||||||
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
title: 建设中
|
|
||||||
---
|
|
||||||
|
|
||||||
建设中
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: TextBox
|
title: TextBox 文本框
|
||||||
---
|
---
|
||||||
|
|
||||||
表示一个控件,该控件可用于显示或编辑无格式文本。
|
表示一个控件,该控件可用于显示或编辑无格式文本。
|
||||||
@@ -18,9 +18,6 @@ public class TextBox : System.Windows.Controls.TextBox, IDataInput
|
|||||||
var textBox = new TextBox();
|
var textBox = new TextBox();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 输入文本
|
# 输入文本
|
||||||
|
|
||||||
此示例演示如何使用 Text 属性设置 TextBox 控件的初始文本内容:
|
此示例演示如何使用 Text 属性设置 TextBox 控件的初始文本内容:
|
||||||
@@ -50,9 +47,6 @@ textBox.Text = "这是内容";
|
|||||||
hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}"
|
hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 属性
|
# 属性
|
||||||
|
|
||||||
| 属性 | 描述 |
|
| 属性 | 描述 |
|
||||||
|
|||||||
Vendored
+1
-3
@@ -231,8 +231,7 @@ menu:
|
|||||||
default: /extend_controls/ ||
|
default: /extend_controls/ ||
|
||||||
AnimationPath 动画路径: /animationPath/ ||
|
AnimationPath 动画路径: /animationPath/ ||
|
||||||
Badge 标记: /badge/ ||
|
Badge 标记: /badge/ ||
|
||||||
ButtonGroup : /buttonGroup/ ||
|
ButtonGroup 按钮组: /buttonGroup/ ||
|
||||||
BlurWindow 背景模糊窗口: /blurWindow/ ||
|
|
||||||
CalendarWithClock 带有时钟的日历: /calendarWithClock/ ||
|
CalendarWithClock 带有时钟的日历: /calendarWithClock/ ||
|
||||||
Card 卡片: /card/ ||
|
Card 卡片: /card/ ||
|
||||||
Carousel 轮播: /carousel/ ||
|
Carousel 轮播: /carousel/ ||
|
||||||
@@ -276,7 +275,6 @@ menu:
|
|||||||
PreviewSlider 预览滑块: /previewSlider/ ||
|
PreviewSlider 预览滑块: /previewSlider/ ||
|
||||||
ProgressButton 进度按钮: /progressButton/ ||
|
ProgressButton 进度按钮: /progressButton/ ||
|
||||||
RangeSlider 范围滑块: /rangeSlider/ ||
|
RangeSlider 范围滑块: /rangeSlider/ ||
|
||||||
RadioGroup 单选按钮组: /radioGroup/ ||
|
|
||||||
Rate 评分: /rate/ ||
|
Rate 评分: /rate/ ||
|
||||||
RelativePanel 相对布局: /relativePanel/ ||
|
RelativePanel 相对布局: /relativePanel/ ||
|
||||||
RunningBlock 滚动块: /runningBlock/ ||
|
RunningBlock 滚动块: /runningBlock/ ||
|
||||||
|
|||||||
Reference in new issue
Block a user