From f19ac636848ed81945bba20a740033312c637440 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 9 Aug 2020 14:30:25 +0800 Subject: [PATCH] add HoneycombPanel doc --- .../extend_controls/honeycombPanel/index.md | 45 ++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/doc/source/handycontrol/extend_controls/honeycombPanel/index.md b/doc/source/handycontrol/extend_controls/honeycombPanel/index.md index 9189a4e7..4e4e9fe3 100644 --- a/doc/source/handycontrol/extend_controls/honeycombPanel/index.md +++ b/doc/source/handycontrol/extend_controls/honeycombPanel/index.md @@ -1,3 +1,46 @@ --- -title: HoneycombPanel +title: HoneycombPanel 蜂窝布局 --- + +一种可以让子元素呈现蜂窝状布局的容器. + +```cs +public class HoneycombPanel : Panel +``` + +# 蜂窝布局方式 + +其它元素将以第一个元素为起点,环绕式布局: + +``` + ● ● + (7) (8) + + ● ● ● + (6) (1) (9) + + ● ● ● ... +(5) (0) (2) + + ● ● ... + (4) (3) +``` + +# 案例 + +```xml + + + + + + + + + + + + +``` + +![HoneycombPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/HoneycombPanel.png) \ No newline at end of file