From 38b060f02bf2fcf5db3492ad6a57903fcd491364 Mon Sep 17 00:00:00 2001 From: guanguanchuangyu <3246907890@qq.com> Date: Mon, 2 Dec 2019 21:48:30 +0800 Subject: [PATCH] add doc of native_control/Label,Listbox --- .../native_controls/image/index.md | 27 +++- .../native_controls/label/index.md | 89 ++++++++++- .../native_controls/listBox/index.md | 139 +++++++++++++++++- 3 files changed, 249 insertions(+), 6 deletions(-) diff --git a/doc/source/handycontrol/native_controls/image/index.md b/doc/source/handycontrol/native_controls/image/index.md index ca12ad62..d11560c0 100644 --- a/doc/source/handycontrol/native_controls/image/index.md +++ b/doc/source/handycontrol/native_controls/image/index.md @@ -1,5 +1,28 @@ --- -title: 建设中 +title: Image图片 --- -建设中 \ No newline at end of file +在`HandyControl`中,对应原生的`Image`控件,仅仅提供了一个默认的控件样式,并未提供特殊样式,对于个性化定制,需要使用者自行定制 + +默认样式定义: + +``` + +``` + +案例: + +``` + + + + +``` + +![image.baseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/image.baseStyle.png) + diff --git a/doc/source/handycontrol/native_controls/label/index.md b/doc/source/handycontrol/native_controls/label/index.md index ca12ad62..7d37086a 100644 --- a/doc/source/handycontrol/native_controls/label/index.md +++ b/doc/source/handycontrol/native_controls/label/index.md @@ -1,5 +1,90 @@ --- -title: 建设中 +title: Lable标签 --- -建设中 \ No newline at end of file +# LabelBaseStyle + +Label标签 默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用, + +具体源码见:[LabelBaseStyle.xaml]( https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Themes/Styles/Base/LabelBaseStyle.xaml ) + +使用如下: + +``` + +``` + +案例: + +``` + +``` + +![Label.BaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Label.BaseStyle.png) + +# LabelPrimary + +Label标签 主样式 + +案例: + +``` + +``` + +![Label.PrimaryStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Label.PrimaryStyle.png) + +# LabelSuccess + +Label标签 成功类型样式 + +案例: + +``` + +``` + +![Label.SuccessStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Label.SuccessStyle.png) + +# LabelInfo + +Label标签 信息类型样式 + +案例: + +``` + +``` + +![Label.InfoStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Label.InfoStyle.png) + +# LabelWarning + +Label标签 警告类型样式 + +案例: + +``` + +``` + +![Label.WarningStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Label.WarningStyle.png) + +# LabelDanger + +Label标签 危险类型样式 + +``` + +``` + +![Label.DangerStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/Label.DangerStyle.png) + diff --git a/doc/source/handycontrol/native_controls/listBox/index.md b/doc/source/handycontrol/native_controls/listBox/index.md index ca12ad62..7c897e06 100644 --- a/doc/source/handycontrol/native_controls/listBox/index.md +++ b/doc/source/handycontrol/native_controls/listBox/index.md @@ -1,5 +1,140 @@ --- -title: 建设中 +title: ListBox 列表框 --- -建设中 \ No newline at end of file +# ListBoxBaseStyle + + ListBox默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用, + +样式源码见[ListBoxBaseStyle.xaml](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Themes/Styles/Base/ListBoxBaseStyle.xaml )。 + +案例: + +``` + +