merged pr/347

This commit is contained in:
NaBian committed 2020-04-04 15:06:47 +08:00
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 控件展示一个虚拟的时钟,允许用户在这个时钟上选择时间。
@@ -29,9 +29,7 @@ var clock = new Clock();
![Clock](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/extend_controls/Clock_1.png)
# 选择s时间
# 选择时间
可以通过点击左边的时钟,或者点击右边的时分秒列表选择时间。也可以在XAML钟或代码中这样设置日期。
@@ -43,11 +41,6 @@ var clock = new Clock();
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();
```
# 输入密码
可以通过文本框输入密码,也可以在XAML钟或代码中这样设置日期。
@@ -37,7 +36,9 @@ passwordBox.Password = "123456";
PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置为`true`,PasswordBox将显示一个“眼睛”的按钮,点击这个按钮即可显示已输入的密码。
``` XML
<hc:PasswordBox ShowClearButton="True"/>
```
![PasswordBox](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/extend_controls/PasswordBox_2.gif)
@@ -51,9 +52,6 @@ PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置
hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}"
```
# 属性
| 属性 | 描述 |
@@ -77,4 +75,3 @@ PasswordBox控件可以主动显示已输入的密码。将`ShowEyeButton`设置
| Paste() | 用剪贴板中的内容替换 PasswordBox 中的当前选定内容。 |
| SelectAll() | 选择 PasswordBox 中的全部内容。 |
| 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();
```
# 输入文本
此示例演示如何使用 Text 属性设置 TextBox 控件的初始文本内容:
@@ -50,9 +47,6 @@ textBox.Text = "这是内容";
hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}"
```
# 属性
| 属性 | 描述 |
+1 -3
View File
@@ -231,8 +231,7 @@ menu:
default: /extend_controls/ ||
AnimationPath 动画路径: /animationPath/ ||
Badge 标记: /badge/ ||
ButtonGroup : /buttonGroup/ ||
BlurWindow 背景模糊窗口: /blurWindow/ ||
ButtonGroup 按钮组: /buttonGroup/ ||
CalendarWithClock 带有时钟的日历: /calendarWithClock/ ||
Card 卡片: /card/ ||
Carousel 轮播: /carousel/ ||
@@ -276,7 +275,6 @@ menu:
PreviewSlider 预览滑块: /previewSlider/ ||
ProgressButton 进度按钮: /progressButton/ ||
RangeSlider 范围滑块: /rangeSlider/ ||
RadioGroup 单选按钮组: /radioGroup/ ||
Rate 评分: /rate/ ||
RelativePanel 相对布局: /relativePanel/ ||
RunningBlock 滚动块: /runningBlock/ ||