diff --git a/doc/source/handycontrol/attach/infoElement/index.md b/doc/source/handycontrol/attach/infoElement/index.md index ca12ad62..276af1f4 100644 --- a/doc/source/handycontrol/attach/infoElement/index.md +++ b/doc/source/handycontrol/attach/infoElement/index.md @@ -1,5 +1,69 @@ --- -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 | 最大内容高度 | + +# 使用案例 + +## 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..7a86e9e0 100644 --- a/doc/source/handycontrol/attach/titleElement/index.md +++ b/doc/source/handycontrol/attach/titleElement/index.md @@ -1,5 +1,57 @@ --- -title: 建设中 +title: TitleElement 标题元素 --- -建设中 \ No newline at end of file +# 属性 + +| 名称 | 用途 | +| -------------- | ------------ | +| Title | 标题信息 | +| Background | 标题背景色 | +| Foreground | 标题字体色 | +| BorderBrush | 标题边框色 | +| TitleAlignment | 标题对齐方式 | +| TitleWidth | 标题宽度 | + +# 使用案例 + +## 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