@ -20,7 +20,7 @@ title: BorderElement 具有边框的元素
|
||||
</StackPanel>
|
||||
```
|
||||
|
||||
![BorderElement.CornerRadius](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach\BorderElement.CornerRadius.png)
|
||||
![BorderElement.CornerRadius](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/BorderElement.CornerRadius.png)
|
||||
|
||||
## Circular 是否呈现为圆形
|
||||
|
||||
@ -28,4 +28,4 @@ title: BorderElement 具有边框的元素
|
||||
```xml
|
||||
<Border Style="{StaticResource BorderCircular}" Background="OrangeRed" Width="100" Height="100"/>
|
||||
```
|
||||
![BorderElement.Circular](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach\BorderElement.Circular.png)
|
||||
![BorderElement.Circular](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/BorderElement.Circular.png)
|
@ -21,4 +21,4 @@ title: IconElement 具有图标的元素
|
||||
</StackPanel>
|
||||
```
|
||||
|
||||
![IconElement.Geometry](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach\IconElement.Geometry.png)
|
||||
![IconElement.Geometry](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/attach/IconElement.Geometry.png)
|
Before Width: | Height: | Size: 2.5 KiB |
@ -65,7 +65,7 @@ title: Border 边框
|
||||
<Ellipse Margin="5,0" Fill="OrangeRed" Width="20" Height="20"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![BorderVerticallySplitter](../images/BorderVerticallySplitter_1.png)
|
||||
![BorderVerticallySplitter](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/BorderVerticallySplitter_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# BorderHorizontallySplitter
|
||||
@ -88,7 +88,7 @@ title: Border 边框
|
||||
<Ellipse Margin="0,5" Fill="OrangeRed" Width="20" Height="20"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![BorderHorizontallySplitter](../images/BorderHorizontallySplitter_1.png)
|
||||
![BorderHorizontallySplitter](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/BorderHorizontallySplitter_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# BorderCircular
|
||||
@ -101,7 +101,7 @@ title: Border 边框
|
||||
{% code %}
|
||||
<Border Style="{StaticResource BorderCircular}" Background="OrangeRed" Width="100" Height="100"/>
|
||||
{% endcode %}
|
||||
![BorderCircular](../images/BorderCircular_1.png)
|
||||
![BorderCircular](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/BorderCircular_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# BorderClip
|
||||
@ -116,5 +116,5 @@ title: Border 边框
|
||||
<Image Source="/HandyControlDemo;component/Resources/Img/Album/2.jpg"/>
|
||||
</Border>
|
||||
{% endcode %}
|
||||
![BorderClip](../images/BorderClip_1.png)
|
||||
![BorderClip](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/BorderClip_1.png)
|
||||
{% endnote %}
|
@ -24,7 +24,7 @@ title: Button 按钮
|
||||
<Button Content="这是一个按钮" Margin="10,0,0,0" controls:IconElement.Geometry="{StaticResource GithubGeometry}"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonBaseStyle](../images/ButtonBaseStyle_1.png)
|
||||
![ButtonBaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonBaseStyle_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonPrimary : ButtonBaseStyle
|
||||
@ -41,7 +41,7 @@ title: Button 按钮
|
||||
<Button Style="{StaticResource ButtonPrimary}" Content="这是一个按钮" Margin="10,0,0,0" controls:IconElement.Geometry="{StaticResource GithubGeometry}"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonPrimary](../images/ButtonPrimary_1.png)
|
||||
![ButtonPrimary](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonPrimary_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonSuccess : ButtonBaseStyle
|
||||
@ -58,7 +58,7 @@ title: Button 按钮
|
||||
<Button Style="{StaticResource ButtonSuccess}" Content="这是一个按钮" Margin="10,0,0,0" controls:IconElement.Geometry="{StaticResource GithubGeometry}"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonSuccess](../images/ButtonSuccess_1.png)
|
||||
![ButtonSuccess](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonSuccess_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonInfo : ButtonBaseStyle
|
||||
@ -75,7 +75,7 @@ title: Button 按钮
|
||||
<Button Style="{StaticResource ButtonInfo}" Content="这是一个按钮" Margin="10,0,0,0" controls:IconElement.Geometry="{StaticResource GithubGeometry}"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonInfo](../images/ButtonInfo_1.png)
|
||||
![ButtonInfo](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonInfo_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonWarning : ButtonBaseStyle
|
||||
@ -92,7 +92,7 @@ title: Button 按钮
|
||||
<Button Style="{StaticResource ButtonWarning}" Content="这是一个按钮" Margin="10,0,0,0" controls:IconElement.Geometry="{StaticResource GithubGeometry}"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonWarning](../images/ButtonWarning_1.png)
|
||||
![ButtonWarning](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonWarning_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonDanger : ButtonBaseStyle
|
||||
@ -109,7 +109,7 @@ title: Button 按钮
|
||||
<Button Style="{StaticResource ButtonDanger}" Content="这是一个按钮" Margin="10,0,0,0" controls:IconElement.Geometry="{StaticResource GithubGeometry}"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonDanger](../images/ButtonDanger_1.png)
|
||||
![ButtonDanger](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonDanger_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonIcon : ButtonBaseStyle
|
||||
@ -126,7 +126,7 @@ title: Button 按钮
|
||||
<Button Style="{StaticResource ButtonIcon}" BorderThickness="1" BorderBrush="Black" Foreground="Black" controls:IconElement.Geometry="{StaticResource UpDownGeometry}" Margin="10,0,0,0"/>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
![ButtonIcon](../images/ButtonIcon_1.png)
|
||||
![ButtonIcon](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonIcon_1.png)
|
||||
{% endnote %}
|
||||
|
||||
# ButtonCustom
|
||||
@ -139,5 +139,5 @@ title: Button 按钮
|
||||
{% code %}
|
||||
<Button Height="30" Padding="10,0" Background="Black" Foreground="White" Content="这是一个按钮" Style="{StaticResource ButtonCustom}" controls:BackgroundSwitchElement.MouseHoverBackground="Red" controls:BackgroundSwitchElement.MouseDownBackground="PaleVioletRed"/>
|
||||
{% endcode %}
|
||||
![ButtonCustom](../images/ButtonCustom_1.gif)
|
||||
![ButtonCustom](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ButtonCustom_1.gif)
|
||||
{% endnote %}
|
@ -8,7 +8,7 @@ title: ComboBox 组合框
|
||||
|
||||
- 默认样式
|
||||
`<ComboBox ItemsSource="{Binding DataList}" SelectedIndex="0"/>`
|
||||
![ComboBoxBaseStyle](../images/ComboBoxBaseStyle.png)
|
||||
![ComboBoxBaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxBaseStyle.png)
|
||||
|
||||
# ComboBoxExtendBaseStyle : ComboBoxBaseStyle
|
||||
|
||||
@ -20,11 +20,11 @@ title: ComboBox 组合框
|
||||
|
||||
- 标题在上
|
||||
`<ComboBox ItemsSource="{Binding DataList}" SelectedIndex="0" hc:InfoElement.Title="这是标题" Style="{StaticResource ComboBoxExtend}" Text="正文1"/>`
|
||||
![ComboBoxExtend_1](../images/ComboBoxExtend_1.png)
|
||||
![ComboBoxExtend_1](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_1.png)
|
||||
|
||||
- 标题在左
|
||||
`<ComboBox ItemsSource="{Binding DataList}" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.TitleAlignment="Left" hc:InfoElement.Title="标题在左侧" Style="{StaticResource ComboBoxExtend}" Text="正文1"/>`
|
||||
![ComboBoxExtend_2](../images/ComboBoxExtend_2.png)
|
||||
![ComboBoxExtend_2](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_2.png)
|
||||
|
||||
{% note warning %}
|
||||
标题在左时,为了多个输入框左侧对齐,需要设置标题宽度,标题宽度无需逐个设置,可在外部容器上统一设置。
|
||||
@ -32,18 +32,18 @@ title: ComboBox 组合框
|
||||
{% note warning %}
|
||||
常见问题:
|
||||
Combobox的字体比原有默认字体大,同时设定标题在左,标题因字体过大显示不全
|
||||
![ComboBoxExtend_2_Error1](../images/ComboBoxExtend_2_Error1.png)
|
||||
![ComboBoxExtend_2_Error1](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_2_Error1.png)
|
||||
解决方案:
|
||||
在该Combobox中添加附加属性`hc:InfoElement.ContentHeight`,默认值为30,默认字体号为12,变更后可根据新的字体大小设定该附加属性的数值,如上图,字体大小为18,则设定`hc:InfoElement.ContentHeight`为38,结果如下:![ComboBoxExtend_2_Ok1](../images/ComboBoxExtend_2_Ok1.png)
|
||||
在该Combobox中添加附加属性`hc:InfoElement.ContentHeight`,默认值为30,默认字体号为12,变更后可根据新的字体大小设定该附加属性的数值,如上图,字体大小为18,则设定`hc:InfoElement.ContentHeight`为38,结果如下:![ComboBoxExtend_2_Ok1](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_2_Ok1.png)
|
||||
{% endnote %}
|
||||
- 标题在上,带有水印
|
||||
`<ComboBox ItemsSource="{Binding DataList}" hc:InfoElement.Placeholder="请输入内容" hc:InfoElement.Title="此项必填" Style="{StaticResource ComboBoxExtend}"/>`
|
||||
![ComboBoxExtend_3](../images/ComboBoxExtend_3.png)
|
||||
![ComboBoxExtend_3](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_3.png)
|
||||
|
||||
- 标题在上,带有水印,且为必填
|
||||
`<ComboBox ItemsSource="{Binding DataList}" hc:InfoElement.Placeholder="请输入内容" hc:InfoElement.Title="此项必填" Style="{StaticResource ComboBoxExtend}" hc:InfoElement.Necessary="True"/>`
|
||||
![ComboBoxExtend_4](../images/ComboBoxExtend_4.png)
|
||||
![ComboBoxExtend_4](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_4.png)
|
||||
|
||||
- 标题在上,带有水印,且为必填,同时自定义必填提示符
|
||||
`<ComboBox ItemsSource="{Binding DataList}" hc:InfoElement.Placeholder="请输入内容" hc:InfoElement.Title="此项必填" Style="{StaticResource ComboBoxExtend}" hc:InfoElement.Necessary="True" hc:InfoElement.Symbol="*"/>`
|
||||
![ComboBoxExtend_5](../images/ComboBoxExtend_5.png)
|
||||
![ComboBoxExtend_5](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ComboBoxExtend_5.png)
|
@ -73,4 +73,4 @@ xaml中的使用:
|
||||
|
||||
效果如下:
|
||||
|
||||
![DataGridWarning01](../images/DataGrid-Warning01.png)
|
||||
![DataGridWarning01](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/DataGrid-Warning01.png)
|
||||
|
@ -8,7 +8,7 @@ title: DatePicker 日期选择器
|
||||
|
||||
- 默认样式
|
||||
`<DatePicker SelectedDate="{x:Static system:DateTime.Now}"/>`
|
||||
![ComboBoxBaseStyle](../images/DatePickerBaseStyle.png)
|
||||
![ComboBoxBaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/DatePickerBaseStyle.png)
|
||||
|
||||
# DatePickerExtendBaseStyle : DatePickerBaseStyle
|
||||
|
||||
@ -18,21 +18,21 @@ title: DatePicker 日期选择器
|
||||
|
||||
- 标题在上
|
||||
`<DatePicker SelectedDate="{x:Static system:DateTime.Now}" Style="{StaticResource DatePickerExtend}" hc:InfoElement.Title="这是标题"/>`
|
||||
![DatePickerExtend_1](../images/DatePickerExtend_1.png)
|
||||
![DatePickerExtend_1](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/DatePickerExtend_1.png)
|
||||
|
||||
- 标题在左
|
||||
`<DatePicker SelectedDate="{x:Static system:DateTime.Now}" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.TitleAlignment="Left" Style="{StaticResource DatePickerExtend}" hc:InfoElement.Title="标题在左侧"/>`
|
||||
![DatePickerExtend_2](../images/DatePickerExtend_2.png)
|
||||
![DatePickerExtend_2](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/DatePickerExtend_2.png)
|
||||
|
||||
{% note warning %}
|
||||
标题在左时,为了多个输入框左侧对齐,需要设置标题宽度,标题宽度无需逐个设置,可在外部容器上统一设置。
|
||||
{% endnote %}
|
||||
|
||||
- 标题在上,带有水印
|
||||
[参见Combobox](../combobox)
|
||||
[参见Combobox](https://handyorg.github.io/handycontrol/native_controls/comboBox/)
|
||||
|
||||
- 标题在上,带有水印,且为必填
|
||||
[参见Combobox](../combobox)
|
||||
[参见Combobox](https://handyorg.github.io/handycontrol/native_controls/comboBox/)
|
||||
|
||||
- 标题在上,带有水印,且为必填,同时自定义必填提示符
|
||||
[参见Combobox](../combobox)
|
||||
[参见Combobox](https://handyorg.github.io/handycontrol/native_controls/comboBox/)
|
@ -1,5 +1,30 @@
|
||||
---
|
||||
title: 建设中
|
||||
title: Expander 展开框
|
||||
---
|
||||
|
||||
建设中
|
||||
# ExpanderBaseStyle
|
||||
|
||||
Expander 展开框 默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。
|
||||
|
||||
{% note info no-icon %}
|
||||
|
||||
{% code %}
|
||||
<StackPanel Margin="32" VerticalAlignment="Center" Width="240">
|
||||
<Expander Header="{x:Static langs:Lang.Title}" BorderThickness="1,1,1,0" BorderBrush="{DynamicResource BorderBrush}">
|
||||
<Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
|
||||
</Expander>
|
||||
<Expander Header="{x:Static langs:Lang.Title}" BorderThickness="1,1,1,0" BorderBrush="{DynamicResource BorderBrush}">
|
||||
<Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
|
||||
</Expander>
|
||||
<Expander Header="{x:Static langs:Lang.Title}" BorderThickness="1,1,1,0" BorderBrush="{DynamicResource BorderBrush}">
|
||||
<Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
|
||||
</Expander>
|
||||
<Expander Header="{x:Static langs:Lang.Title}" BorderThickness="1" BorderBrush="{DynamicResource BorderBrush}">
|
||||
<Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
|
||||
</Expander>
|
||||
</StackPanel>
|
||||
{% endcode %}
|
||||
|
||||
![ExpanderBaseStyle](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Doc/native_controls/ExpanderBaseStyle.png)
|
||||
|
||||
{% endnote %}
|
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 885 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB |
@ -1,281 +0,0 @@
|
||||
---
|
||||
title: 总览
|
||||
---
|
||||
|
||||
## 最新示例
|
||||
|
||||
### 托盘图标
|
||||
|
||||
![托盘图标](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/NotifyIcon.png)
|
||||
|
||||
### 对话框
|
||||
|
||||
![对话框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Dialog.png)
|
||||
|
||||
### 波形进度条
|
||||
|
||||
![波形进度条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/WaveProgressBar.gif)
|
||||
|
||||
### 标记
|
||||
|
||||
![标记](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Badge.png)
|
||||
|
||||
### 头像
|
||||
|
||||
![头像](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Gravatar.gif)
|
||||
|
||||
## 历史发布
|
||||
|
||||
### 回到顶部
|
||||
|
||||
![回到顶部](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GoToTop.gif)
|
||||
|
||||
### 对话气泡
|
||||
|
||||
![对话气泡](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ChatBubble.png)
|
||||
|
||||
### 标签
|
||||
|
||||
![标签](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Label.png)
|
||||
|
||||
### 穿梭框
|
||||
|
||||
![穿梭框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Transfer.png)
|
||||
|
||||
### 进度按钮
|
||||
|
||||
![进度按钮](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressButton.png)
|
||||
|
||||
### 封面流
|
||||
|
||||
![封面流](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CoverFlow.gif)
|
||||
|
||||
### 封面视图
|
||||
|
||||
![封面视图](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CoverView.gif)
|
||||
|
||||
### 消息对话框
|
||||
|
||||
![消息对话框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/MessageBox.png)
|
||||
|
||||
### 瀑布流
|
||||
|
||||
![瀑布流](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/WaterfallPanel.png)
|
||||
|
||||
### 评分
|
||||
|
||||
![评分](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Rate.png)
|
||||
|
||||
### 背景模糊窗口
|
||||
|
||||
![背景模糊窗口](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/BlurWindow.png)
|
||||
|
||||
### 翻页时钟
|
||||
|
||||
![翻页时钟](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/FlipClock.gif)
|
||||
|
||||
### 徽章
|
||||
|
||||
![徽章](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Shield.png)
|
||||
|
||||
### 轮廓文本
|
||||
|
||||
![轮廓文本](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/OutlineText.png)
|
||||
|
||||
### 标签
|
||||
|
||||
![标签](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Tag.png)
|
||||
|
||||
### 工具条
|
||||
|
||||
![ToolBar](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ToolBar.png)
|
||||
|
||||
### 滑块
|
||||
|
||||
![Slider](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Slider.png)
|
||||
|
||||
### 圆形进度条
|
||||
|
||||
![圆形进度条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CircleProgressBar.png)
|
||||
|
||||
### 按钮
|
||||
|
||||
![按钮](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Button.png)
|
||||
|
||||
### 切换按钮
|
||||
|
||||
![切换按钮](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ToggleButton.png)
|
||||
|
||||
### 单选按钮
|
||||
|
||||
![单选按钮](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/RadioButton.png)
|
||||
|
||||
### 复选框
|
||||
|
||||
![复选框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CheckBox.png)
|
||||
|
||||
### 列表框
|
||||
|
||||
![列表框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ListBox.png)
|
||||
|
||||
### 树视图
|
||||
|
||||
![树视图](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TreeView.png)
|
||||
|
||||
### 列表视图
|
||||
|
||||
![列表视图](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ListView.png)
|
||||
|
||||
### 数据表格
|
||||
|
||||
![数据表格](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DataGrid.png)
|
||||
|
||||
### 现在你可以切换到黑色主题了
|
||||
|
||||
![黑色主题](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DarkTheme.png)
|
||||
|
||||
### 颜色拾取器
|
||||
|
||||
![颜色拾取器](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ColorPicker.gif)
|
||||
|
||||
### 加载条
|
||||
|
||||
![加载条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Loading.gif)
|
||||
|
||||
### 轮播
|
||||
|
||||
![轮播](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Carousel.gif)
|
||||
|
||||
### 页码条
|
||||
|
||||
![页码条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Pagination.gif)
|
||||
|
||||
### 展开框
|
||||
|
||||
![展开框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Expander.gif)
|
||||
|
||||
### 时间条
|
||||
|
||||
![时间条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimeBar.gif)
|
||||
|
||||
### 图片浏览器
|
||||
|
||||
![图片浏览器](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ImageBrowser.gif)
|
||||
|
||||
### 预览滑块
|
||||
|
||||
![预览滑块](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/PreviewSlider.gif)
|
||||
|
||||
### 对比滑块
|
||||
|
||||
![对比滑块](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-h.gif)
|
||||
|
||||
![对比滑块](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CompareSlider-v.gif)
|
||||
|
||||
### 信息通知
|
||||
|
||||
![信息通知](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Growl.gif)
|
||||
|
||||
### 动画路径
|
||||
|
||||
![动画路径](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/AnimationPath.gif)
|
||||
|
||||
### 进度条
|
||||
|
||||
![进度条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ProgressBar.gif)
|
||||
|
||||
### 选项卡控件
|
||||
|
||||
![选项卡控件](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.gif)
|
||||
|
||||
### 选项卡控件
|
||||
|
||||
![选项卡控件](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TabControl.png)
|
||||
|
||||
### 分组框
|
||||
|
||||
![分组框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GroupBox.png)
|
||||
|
||||
### 步骤条
|
||||
|
||||
![步骤条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/StepBar.png)
|
||||
|
||||
### Gif图片
|
||||
|
||||
![Gif图片](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/GifImage.gif)
|
||||
|
||||
### 上下文菜单
|
||||
|
||||
![上下文菜单](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ContextMenu.png)
|
||||
|
||||
### 日历
|
||||
|
||||
![日历](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Calendar.jpg)
|
||||
|
||||
### 时钟
|
||||
|
||||
![时钟](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Clock.jpg)
|
||||
|
||||
### 带有时钟的日历
|
||||
|
||||
![带有时钟的日历](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CalendarWithClock.png)
|
||||
|
||||
### 文本块
|
||||
|
||||
![文本块](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TextBlock.jpg)
|
||||
|
||||
### 富文本框
|
||||
|
||||
![富文本框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/RichTextBox.png)
|
||||
|
||||
### 文本框
|
||||
|
||||
![文本框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TextBox.jpg)
|
||||
|
||||
### 组合框
|
||||
|
||||
![组合框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ComboBox.jpg)
|
||||
|
||||
### 数值选择控件
|
||||
|
||||
![数值选择控件](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/NumericUpDown.png)
|
||||
|
||||
### 步骤条
|
||||
|
||||
![步骤条](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SearchBar.png)
|
||||
|
||||
### 密码框
|
||||
|
||||
![密码框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/PasswordBox.jpg)
|
||||
|
||||
### 日期选择器
|
||||
|
||||
![日期选择器](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DataPicker.jpg)
|
||||
|
||||
### 时间选择器
|
||||
|
||||
![时间选择器](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/TimePicker.jpg)
|
||||
|
||||
### 日期时间选择器
|
||||
|
||||
![日期时间选择器](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/DateTimePicker.png)
|
||||
|
||||
### 滚动视图
|
||||
|
||||
![滚动视图](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/ScrollViewer.png)
|
||||
|
||||
### 圆形布局
|
||||
|
||||
![圆形布局](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/CirclePanel.jpg)
|
||||
|
||||
### 边框
|
||||
|
||||
![边框](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Border.png)
|
||||
|
||||
### 画刷
|
||||
|
||||
![画刷](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Brush.png)
|
||||
|
||||
## 配置切换
|
||||
|
||||
![配置切换](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/SwitchConfig.png)
|
@ -1,37 +0,0 @@
|
||||
---
|
||||
title: 规范
|
||||
---
|
||||
|
||||
HandyControl中有一些贯穿全部生命周期的规范,此文档将逐条列举。
|
||||
|
||||
# 样式命名规范
|
||||
|
||||
- 带有BaseStyle后缀的样式,不推荐在视图层使用,而适合于扩展。
|
||||
|
||||
{% note info %}
|
||||
例如`ButtonBaseStyle`、`ComboBoxBaseStyle`。
|
||||
{% endnote %}
|
||||
|
||||
- 带有Extend字样的样式,为原生控件样式的扩展模式,它比没有该字样的样式多一些功能。
|
||||
|
||||
{% note info %}
|
||||
例如`ComboBoxExtendBaseStyle`、`TextBoxExtendBaseStyle`。
|
||||
{% endnote %}
|
||||
|
||||
- 带有Plus字样的样式,为扩展控件的默认样式,它比`Extend`样式多一些功能。
|
||||
|
||||
{% note info %}
|
||||
例如`ComboBoxPlusBaseStyle`、`TextBoxPlusBaseStyle`。
|
||||
{% endnote %}
|
||||
|
||||
{% note info %}
|
||||
如果一个控件拥有`Plus`样式,说明在原生库中存在与其同名的控件。
|
||||
{% endnote %}
|
||||
|
||||
# 控件命名规范
|
||||
|
||||
- 功能和原生控件相似的扩展控件一般名称和原生控件一致。
|
||||
|
||||
{% note info %}
|
||||
例如`Window`、`TabControl`、`ScrollViewer`,原生库中有这三个控件,但是HandyControl中也有,且名称一致。
|
||||
{% endnote %}
|
2
doc/themes/next/_config.yml
vendored
@ -162,8 +162,6 @@ menu:
|
||||
default: /handycontrol/ ||
|
||||
鸣谢: /tnx/ ||
|
||||
快速开始: /quick_start/ ||
|
||||
# 总览: /overview/ ||
|
||||
# 规范: /specifications/ ||
|
||||
基础xaml定义:
|
||||
default: /basic_xaml/ ||
|
||||
行为: /behaviors/ ||
|
||||
|