diff --git a/doc/source/handycontrol/attach/tipElement/index.md b/doc/source/handycontrol/attach/tipElement/index.md index ca12ad62..6b91f48d 100644 --- a/doc/source/handycontrol/attach/tipElement/index.md +++ b/doc/source/handycontrol/attach/tipElement/index.md @@ -1,5 +1,42 @@ --- -title: 建设中 +title: TipElement 提示元素 --- -建设中 \ No newline at end of file +# 属性 + +| 名称 | 用途 | +| ---------- | -------- | +| Placement | 提示元素显示位置 | +| Visibility | 是否可见 | + + +# 使用案例 + +## Placement 提示元素显示位置 + +该属性,用于设定提示元素显示位置,目前支持BottomRight和TopLeft(默认值) + +``` + + +``` + +效果 + +![TipElement.Default](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TipElement.Default.png) + +![TipElement.TopLeft](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TipElement.TopLeft.png) + diff --git a/doc/source/handycontrol/native_controls/border/index.md b/doc/source/handycontrol/native_controls/border/index.md index 87ddb03a..e3551636 100644 --- a/doc/source/handycontrol/native_controls/border/index.md +++ b/doc/source/handycontrol/native_controls/border/index.md @@ -12,32 +12,32 @@ title: Border 边框 ``` xml - + - + - + - + - + - + @@ -45,6 +45,8 @@ title: Border 边框 ``` +提示:新版本中使用的`BorderRegion`,有别于老版本使用样式`BorderRegionStyle`,由直角变更为圆角 + # BorderVerticallySplitter 此样式使用1单位宽度的Border来分割横向排列的控件。 diff --git a/doc/source/handycontrol/native_controls/label/index.md b/doc/source/handycontrol/native_controls/label/index.md index 25b65927..cbd200ed 100644 --- a/doc/source/handycontrol/native_controls/label/index.md +++ b/doc/source/handycontrol/native_controls/label/index.md @@ -4,7 +4,7 @@ title: Lable标签 # LabelBaseStyle -Label标签 默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 +Label标签默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 {% note info no-icon %} 用例: diff --git a/doc/source/handycontrol/native_controls/listView/index.md b/doc/source/handycontrol/native_controls/listView/index.md index ca12ad62..10c9d1cb 100644 --- a/doc/source/handycontrol/native_controls/listView/index.md +++ b/doc/source/handycontrol/native_controls/listView/index.md @@ -1,5 +1,23 @@ --- -title: 建设中 +title: ListView 列表视图 --- -建设中 \ No newline at end of file +`HandyControl`中仅提供了一个默认的`ListView`样式,可根据个人需求,自行定义。 + +{% note info no-icon %} +用例: +{% code %} + + + + + + + + + +{% endcode %} + +![ListView.DefaultStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ListView.DefaultStyle.png) + +{% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/native_controls/menu/index.md b/doc/source/handycontrol/native_controls/menu/index.md index ca12ad62..28d0237f 100644 --- a/doc/source/handycontrol/native_controls/menu/index.md +++ b/doc/source/handycontrol/native_controls/menu/index.md @@ -1,5 +1,23 @@ --- -title: 建设中 +title: Menu 菜单 --- -建设中 \ No newline at end of file +# MenuBaseStyle + +菜单默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 + +{% note info no-icon %} +用例: +{% code %} + + + + + + + +{% endcode %} + +![Menu.BaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Menu.BaseStyle.png) + +{% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/native_controls/passwordBox/index.md b/doc/source/handycontrol/native_controls/passwordBox/index.md index ca12ad62..0b72a68d 100644 --- a/doc/source/handycontrol/native_controls/passwordBox/index.md +++ b/doc/source/handycontrol/native_controls/passwordBox/index.md @@ -1,5 +1,45 @@ --- -title: 建设中 +title: PasswordBox 密码框 --- -建设中 \ No newline at end of file +# PasswordBoxBaseStyle + +原生密码框默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 + +{% note info no-icon %} +用例: +{% code %} + +{% endcode %} + +![PasswordBox.BaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/PasswordBox.BaseStyle.png) + +{% endnote %} + +# PasswordBoxExtendBaseStyle : PasswordBoxBaseStyle + +原生密码框扩展默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 + +# PasswordBoxExtend : PasswordBoxExtendBaseStyle + +相对于原生密码框默认样式,它借助于附加属性可以实现标题、水印的功能。 + +{% note info no-icon %} +用例: +{% code %} + + + +{% endcode %} + +![PasswordBox.ExtendStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/PasswordBox.ExtendStyle.png) + +{% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/native_controls/progressBar/index.md b/doc/source/handycontrol/native_controls/progressBar/index.md index ca12ad62..8f5ca2a7 100644 --- a/doc/source/handycontrol/native_controls/progressBar/index.md +++ b/doc/source/handycontrol/native_controls/progressBar/index.md @@ -1,5 +1,79 @@ --- -title: 建设中 +title: ProgressBar 进度条 --- -建设中 \ No newline at end of file +# ProgressBarBaseStyle + +进度条默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 + +# 其他样式 + +`HandyControl`中自带的其他样式和效果,其中包含如下样式: + +| 样式Key | 用途 |父样式| +| ------------------ | ---- || +| ProgressBarSuccess | 成功色进度条 |ProgressBarBaseStyle| +| ProgressBarInfo | 提示色进度条 |ProgressBarBaseStyle| +| ProgressBarWarning | 警告色进度条 |ProgressBarBaseStyle| +| ProgressBarDanger | 危险色进度条 |ProgressBarBaseStyle| +| ProgressBarStripeBaseStyle | 条纹进度条默认样式(不推荐直接使用) |-| +| ProgressBarPrimaryStripe | 主题色条纹进度条 |ProgressBarStripeBaseStyle| +| ProgressBarSuccessStripe | 成功色条纹进度条 |ProgressBarStripeBaseStyle| +| ProgressBarInfoStripe | 信息色条纹进度条 |ProgressBarStripeBaseStyle| +| ProgressBarWarningStripe | 警告色条纹进度条 |ProgressBarStripeBaseStyle| +| ProgressBarDangerStripe | 危险色条纹进度条 |ProgressBarStripeBaseStyle| +| ProgressBarFlat | 扁平风格 |-| + +案例: +```xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` +效果: +![ProgressBar.Styles](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ProgressBar.Styles.png) + +# 温馨提示 + +对于颜色、圆角或其它自定义需求,可参考[进度条样式源码](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Themes/Styles/ProgressBar.xaml)自行定义。 \ No newline at end of file