diff --git a/doc/source/handycontrol/basic_xaml/behaviors/index.md b/doc/source/handycontrol/basic_xaml/behaviors/index.md index f800ba81..d994b47f 100644 --- a/doc/source/handycontrol/basic_xaml/behaviors/index.md +++ b/doc/source/handycontrol/basic_xaml/behaviors/index.md @@ -13,6 +13,6 @@ title: 行为 | BehaviorX400 | 流体移动行为,x轴运动,400毫秒结束动画 | | BehaviorY400 | 流体移动行为,y轴运动,400毫秒结束动画 | -{% note info %} +{% note info no-icon %} 用例:`controls:PanelElement.FluidMoveBehavior="{StaticResource BehaviorXY200}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/brushes/index.md b/doc/source/handycontrol/basic_xaml/brushes/index.md index 05cd9a74..41c0e970 100644 --- a/doc/source/handycontrol/basic_xaml/brushes/index.md +++ b/doc/source/handycontrol/basic_xaml/brushes/index.md @@ -35,6 +35,6 @@ title: 画刷 | DarkMaskBrush | 作为遮罩使用 | | DarkOpacityBrush | 半透明背景 | -{% note info %} +{% note info no-icon %} 用例:`Foreground="{DynamicResource PrimaryBrush}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/colors/index.md b/doc/source/handycontrol/basic_xaml/colors/index.md index 88de4115..e9a77cb8 100644 --- a/doc/source/handycontrol/basic_xaml/colors/index.md +++ b/doc/source/handycontrol/basic_xaml/colors/index.md @@ -45,6 +45,6 @@ title: 颜色 | DarkOpacityColor | 半透明背景 | | BlurGradientValue | 仅用于模糊窗口的背景 | -{% note info %} +{% note info no-icon %} 用例:`Color="{DynamicResource PrimaryColor}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/converters/index.md b/doc/source/handycontrol/basic_xaml/converters/index.md index b17ea0fd..3af87443 100644 --- a/doc/source/handycontrol/basic_xaml/converters/index.md +++ b/doc/source/handycontrol/basic_xaml/converters/index.md @@ -62,7 +62,7 @@ title: 转换器 该转换器用于为TreeViewItem提供适当的左边距。 -{% note info %} +{% note info no-icon %} 用例: {% code %} diff --git a/doc/source/handycontrol/basic_xaml/effects/index.md b/doc/source/handycontrol/basic_xaml/effects/index.md index 5bdfd1c7..78138a6d 100644 --- a/doc/source/handycontrol/basic_xaml/effects/index.md +++ b/doc/source/handycontrol/basic_xaml/effects/index.md @@ -13,6 +13,6 @@ title: 效果 | EffectShadow4 | 25 | | EffectShadow5 | 35 | -{% note info %} +{% note info no-icon %} 用例:`Effect="{StaticResource EffectShadow5}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/fonts/index.md b/doc/source/handycontrol/basic_xaml/fonts/index.md index 4b5340af..7e6de631 100644 --- a/doc/source/handycontrol/basic_xaml/fonts/index.md +++ b/doc/source/handycontrol/basic_xaml/fonts/index.md @@ -9,6 +9,6 @@ title: 字体大小 | SubHeadFontSize | 16 | 子功能标题 | | TextFontSize | 12 | 文本 | -{% note info %} +{% note info no-icon %} 用例:`FontSize="{StaticResource LargeFontSize}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/geometries/index.md b/doc/source/handycontrol/basic_xaml/geometries/index.md index 9da1ee57..7304c03f 100644 --- a/doc/source/handycontrol/basic_xaml/geometries/index.md +++ b/doc/source/handycontrol/basic_xaml/geometries/index.md @@ -42,6 +42,6 @@ HandyControl中自带了一些几何形状定义,但要应用于生产中显 | AllGeometry | 所有 | | DragGeometry | 拖拽(用于工具条) | -{% note info %} +{% note info no-icon %} 用例:`Data="{StaticResource DragGeometry}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/paths/index.md b/doc/source/handycontrol/basic_xaml/paths/index.md index 5335c7be..3205d938 100644 --- a/doc/source/handycontrol/basic_xaml/paths/index.md +++ b/doc/source/handycontrol/basic_xaml/paths/index.md @@ -25,6 +25,6 @@ title: Path路径 | RightPathStyle | 向右 | | UpDownPathStyle | 上和下的组合 | -{% note info %} +{% note info no-icon %} 用例:`Style="{StaticResource SearchPathStyle}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/basic_xaml/sizes/index.md b/doc/source/handycontrol/basic_xaml/sizes/index.md index 2846cfe7..e8b38ee2 100644 --- a/doc/source/handycontrol/basic_xaml/sizes/index.md +++ b/doc/source/handycontrol/basic_xaml/sizes/index.md @@ -9,6 +9,6 @@ title: 尺寸 | DefaultInputPadding | System.Windows.Thickness | 8,6 |默认输入控件内边距 | | DefaultCornerRadius | System.Windows.CornerRadius | 4 | 默认圆角 | -{% note info %} +{% note info no-icon %} 用例:`CornerRadius="{StaticResource DefaultCornerRadius}"` {% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/extend_controls/growl/index.md b/doc/source/handycontrol/extend_controls/growl/index.md index acb67970..8a7b8c0e 100644 --- a/doc/source/handycontrol/extend_controls/growl/index.md +++ b/doc/source/handycontrol/extend_controls/growl/index.md @@ -33,8 +33,8 @@ title: Growl 信息通知 第二步:调用`Growl`的相关接口来显示指定的消息 -{% note info %} -例如:`Growl.Success("文件保存成功!");` +{% note info no-icon %} +用例:`Growl.Success("文件保存成功!");` {% endnote %} # 只在激活中的窗口显示信息通知 @@ -67,8 +67,8 @@ title: Growl 信息通知 第二步:使用消息标记:SuccessMsg,并调用`Growl`的相关接口来显示指定的消息 -{% note info %} -例如:`Growl.Success("文件保存成功!", "SuccessMsg");` +{% note info no-icon %} +用例:`Growl.Success("文件保存成功!", "SuccessMsg");` {% endnote %} {% note warning %} diff --git a/doc/source/handycontrol/native_controls/border/index.md b/doc/source/handycontrol/native_controls/border/index.md index 1db4121b..63da2560 100644 --- a/doc/source/handycontrol/native_controls/border/index.md +++ b/doc/source/handycontrol/native_controls/border/index.md @@ -49,14 +49,72 @@ title: Border 边框 此样式使用1单位宽度的Border来分割横向排列的控件。 +{% note info no-icon %} +用例: + +{% code %} + + + + + + + + + + + +{% endcode %} +![BorderVerticallySplitter](../images/BorderVerticallySplitter_1.png) +{% endnote %} + # BorderHorizontallySplitter 此样式使用1单位高度的Border来分割纵向排列的控件。 +{% note info no-icon %} +用例: + +{% code %} + + + + + + + + + + + +{% endcode %} +![BorderHorizontallySplitter](../images/BorderHorizontallySplitter_1.png) +{% endnote %} + # BorderCircular 此样式借助`BorderElement.Circular`附加属性可实现圆形Border。 +{% note info no-icon %} +用例: + +{% code %} + +{% endcode %} +![BorderCircular](../images/BorderCircular_1.png) +{% endnote %} + # BorderClip -此样式在`BorderCircular`基础上添加了裁剪功能,常用于显示圆形Image。 \ No newline at end of file +此样式在`BorderCircular`基础上添加了裁剪功能,常用于显示圆形Image。 + +{% note info no-icon %} +用例: + +{% code %} + + + +{% endcode %} +![BorderClip](../images/BorderClip_1.png) +{% endnote %} \ No newline at end of file diff --git a/doc/source/handycontrol/native_controls/button/index.md b/doc/source/handycontrol/native_controls/button/index.md index ada84134..4a82fbe8 100644 --- a/doc/source/handycontrol/native_controls/button/index.md +++ b/doc/source/handycontrol/native_controls/button/index.md @@ -4,7 +4,7 @@ title: Button 按钮 # ButtonBaseStyle : ButtonBaseBaseStyle -默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 +按钮默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。 {% note info %} 所有继承此样式的按钮都可以使用`IconElement`中定义的附加属性来控制按钮中几何图形的属性。 @@ -14,31 +14,130 @@ title: Button 按钮 所有继承此样式的按钮都可以使用`BorderElement.CornerRadius`附加属性来控制按钮的圆角大小。 {% endnote %} +{% note info no-icon %} +用例: + +{% code %} + +