diff --git a/doc/source/handycontrol/extend_controls/simplePanel/index.md b/doc/source/handycontrol/extend_controls/simplePanel/index.md index ca12ad62..41f96ba7 100644 --- a/doc/source/handycontrol/extend_controls/simplePanel/index.md +++ b/doc/source/handycontrol/extend_controls/simplePanel/index.md @@ -1,5 +1,13 @@ --- -title: 建设中 +title: SimplePanel 简单面板 --- -建设中 \ No newline at end of file +当不需要Grid的行、列分隔等功能时建议用此轻量级类代替. + +```cs +public class SimplePanel : Panel +``` + +{% note info %} +大多数时候,我们要尽量避免使用重量级 `Panel`,`SimplePanel` 在HC中大量使用. +{% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/extend_controls/splitButton/index.md b/doc/source/handycontrol/extend_controls/splitButton/index.md index 532fd314..33f79879 100644 --- a/doc/source/handycontrol/extend_controls/splitButton/index.md +++ b/doc/source/handycontrol/extend_controls/splitButton/index.md @@ -1,3 +1,54 @@ --- -title: SplitButton +title: SplitButton 分割按钮 --- + +在普通按钮的基础上提供额外的点击项. + +```cs +public class SplitButton : ButtonBase +``` + +# 属性 + +|属性|描述|默认值|备注| +|-|-|-|-| +|HitMode|下拉框触发模式|HitMode.Click|| +|MaxDropDownHeight|下拉框最大高度||| +|IsDropDownOpen|下拉框是否打开|false|| +|DropDownContent|下拉框内容|||| + +# 案例 + +```xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + +![SplitButton](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/SplitButton.png) \ No newline at end of file diff --git a/doc/source/handycontrol/extend_controls/sprite/index.md b/doc/source/handycontrol/extend_controls/sprite/index.md index 59360979..7e0b88e8 100644 --- a/doc/source/handycontrol/extend_controls/sprite/index.md +++ b/doc/source/handycontrol/extend_controls/sprite/index.md @@ -1,3 +1,43 @@ --- -title: Sprite +title: Sprite 精灵 --- + +可将常用功能集成到 `Sprite` 中而无需打开主程序. + +```cs +public sealed class Sprite : System.Windows.Window +``` + +# 方法 + +|名称|说明| +|-|-| +| Show(object) | 将内容作为控件主体,Pin 到桌面上 | + +# 案例 + +```xml + + + + +