From 70f69763fab50be92445efaec0de96615c870018 Mon Sep 17 00:00:00 2001 From: guanguanchuangyu <3246907890@qq.com> Date: Sun, 3 Nov 2019 23:40:54 +0800 Subject: [PATCH 1/2] add doc of titleElement add doc of InfoElement --- .../handycontrol/attach/infoElement/index.md | 80 ++++++++++++++++++- .../handycontrol/attach/titleElement/index.md | 67 +++++++++++++++- 2 files changed, 143 insertions(+), 4 deletions(-) diff --git a/doc/source/handycontrol/attach/infoElement/index.md b/doc/source/handycontrol/attach/infoElement/index.md index ca12ad62..8fd15b58 100644 --- a/doc/source/handycontrol/attach/infoElement/index.md +++ b/doc/source/handycontrol/attach/infoElement/index.md @@ -1,5 +1,81 @@ --- -title: 建设中 +title: InfoElement信息元素 --- -建设中 \ No newline at end of file +{% note info no-icon %} + +继承至[TitleElement]( https://handyorg.github.io/handycontrol/attach/titleElement/ ) + +{% endnote%} + +# 属性 + +| 名称 | 用途 | +| ---------------- | ------------------ | +| Placeholder | 占位符(输入提示) | +| Necessary | 是否必填 | +| Symbol | 标记信息 | +| ContentHeight | 内容高度 | +| MinContentHeight | 最小内容高度 | +| MaxContentHeight | 最大内容高度 | + +# 使用案例 + +对应`xaml`引入`handycontrol`对应的命名空间 + +```xml +xmlns:hc="https://handyorg.github.io/handycontrol" +``` + +## `Placeholder` 占位符 + +```xml + + +``` + +效果: + +![InfoElement.Placeholder](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.Placeholder.png) + +## `Necessary` 是否必填 + +```xml + +``` + +其中`hc:InfoElement.Title="查询条件" `为继承至父类 + +效果: + +![InfoElement.Necssary](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.Necssary.png) + +## `Symbol` 标记信息 + +```xml + +``` + +效果: + +![InfoElement.Symbol](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.Symbol.png) + +## `ContentHeight` 内容高度 + +```xml + +``` + +效果: + +![InfoElement.ContentHeight](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.ContentHeight.png) \ No newline at end of file diff --git a/doc/source/handycontrol/attach/titleElement/index.md b/doc/source/handycontrol/attach/titleElement/index.md index ca12ad62..33f865ff 100644 --- a/doc/source/handycontrol/attach/titleElement/index.md +++ b/doc/source/handycontrol/attach/titleElement/index.md @@ -1,5 +1,68 @@ --- -title: 建设中 +title: TitleElement标题元素 --- -建设中 \ No newline at end of file +# 属性 + +| 名称 | 用途 | +| -------------- | ------------ | +| Title | 标题信息 | +| Background | 标题背景色 | +| Foreground | 标题字体色 | +| BorderBrush | 标题边框色 | +| TitleAlignment | 标题对齐方式 | +| TitleWidth | 标题宽度 | + +# 使用案例 + +对应`xaml`引入`handycontrol`对应的命名空间 + +```xml +xmlns:hc="https://handyorg.github.io/handycontrol" +``` + +## `Title` 标题信息 + +```xml + +``` + +效果: +![TitleElement.Title](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TitleElement.Title.png) + +## `TitleAlignment` 标题对齐方式 + +```xml + + + + +``` + +效果: + +![TitleElement.TitleAlignment](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TitleElement.TitleAlignment.png) + +## `TitleWidth` 标题宽度 + +```xml + + + + +``` + +效果: + +![TitleElement.TitleWidth](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TitleElement.TitleWidth.png) \ No newline at end of file From 535ab25de112e3d1279427d454473a29945ad894 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Mon, 4 Nov 2019 22:24:41 +0800 Subject: [PATCH 2/2] update doc --- .../handycontrol/attach/infoElement/index.md | 34 ++++++------------- .../handycontrol/attach/titleElement/index.md | 19 +++-------- 2 files changed, 15 insertions(+), 38 deletions(-) diff --git a/doc/source/handycontrol/attach/infoElement/index.md b/doc/source/handycontrol/attach/infoElement/index.md index 8fd15b58..276af1f4 100644 --- a/doc/source/handycontrol/attach/infoElement/index.md +++ b/doc/source/handycontrol/attach/infoElement/index.md @@ -1,10 +1,10 @@ --- -title: InfoElement信息元素 +title: InfoElement 信息元素 --- {% note info no-icon %} -继承至[TitleElement]( https://handyorg.github.io/handycontrol/attach/titleElement/ ) +继承自 [TitleElement]( https://handyorg.github.io/handycontrol/attach/titleElement/ ) {% endnote%} @@ -21,24 +21,18 @@ title: InfoElement信息元素 # 使用案例 -对应`xaml`引入`handycontrol`对应的命名空间 +## Placeholder 占位符 ```xml -xmlns:hc="https://handyorg.github.io/handycontrol" + + + + ``` -## `Placeholder` 占位符 - -```xml - - -``` - -效果: - ![InfoElement.Placeholder](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.Placeholder.png) -## `Necessary` 是否必填 +## Necessary 是否必填 ```xml ``` -其中`hc:InfoElement.Title="查询条件" `为继承至父类 - -效果: +其中`hc:InfoElement.Title="查询条件" `继承自父类 ![InfoElement.Necssary](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.Necssary.png) -## `Symbol` 标记信息 +## Symbol 标记信息 ```xml ``` -效果: - ![InfoElement.Symbol](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.Symbol.png) -## `ContentHeight` 内容高度 +## ContentHeight 内容高度 ```xml ``` -效果: - ![InfoElement.ContentHeight](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/InfoElement.ContentHeight.png) \ No newline at end of file diff --git a/doc/source/handycontrol/attach/titleElement/index.md b/doc/source/handycontrol/attach/titleElement/index.md index 33f865ff..7a86e9e0 100644 --- a/doc/source/handycontrol/attach/titleElement/index.md +++ b/doc/source/handycontrol/attach/titleElement/index.md @@ -1,5 +1,5 @@ --- -title: TitleElement标题元素 +title: TitleElement 标题元素 --- # 属性 @@ -15,23 +15,16 @@ title: TitleElement标题元素 # 使用案例 -对应`xaml`引入`handycontrol`对应的命名空间 - -```xml -xmlns:hc="https://handyorg.github.io/handycontrol" -``` - -## `Title` 标题信息 +## Title 标题信息 ```xml ``` -效果: ![TitleElement.Title](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TitleElement.Title.png) -## `TitleAlignment` 标题对齐方式 +## TitleAlignment 标题对齐方式 ```xml @@ -44,11 +37,9 @@ xmlns:hc="https://handyorg.github.io/handycontrol" Margin="10,10"> ``` -效果: - ![TitleElement.TitleAlignment](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TitleElement.TitleAlignment.png) -## `TitleWidth` 标题宽度 +## TitleWidth 标题宽度 ```xml @@ -63,6 +54,4 @@ xmlns:hc="https://handyorg.github.io/handycontrol" Margin="10,10"> ``` -效果: - ![TitleElement.TitleWidth](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/TitleElement.TitleWidth.png) \ No newline at end of file