-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from AuroraZiling/main
[Docs] Update
- Loading branch information
Showing
21 changed files
with
186 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Button | ||
|
||
SukiUI has a handful of button styles, available in both the standard primary color, but also in the theme's accent color. | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/button.webp" height="300px" width="300px"/> | ||
|
||
- Busy | ||
|
||
<img src="/controls/inputs/button-busy.gif" height="300px" width="300px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<Button> | ||
<!-- Content --> | ||
</Button> | ||
``` | ||
|
||
### Busy | ||
|
||
```xml | ||
... | ||
xmlns:theme="clr-namespace:SukiUI.Theme;assembly=SukiUI" | ||
... | ||
|
||
<Button theme:ButtonExtensions.ShowProgress="true"> | ||
<!-- Content --> | ||
</Button> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ButtonsView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ButtonsView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# DropDownButton | ||
|
||
When you click on the `DropDownButton`, the custom content will pop up. | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/dropdownbutton.webp" height="300px" width="300px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<DropDownButton Content="Click To Open"> | ||
<DropDownButton.Flyout> | ||
<Flyout> | ||
<!-- Content --> | ||
</Flyout> | ||
</DropDownButton.Flyout> | ||
</DropDownButton> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/MiscView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/MiscView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ToggleButton | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/togglebutton.gif" height="300px" width="300px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<ToggleButton Content="Toggle Me" /> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# ToggleSwitch | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/toggleswitch.gif" height="300px" width="300px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<ToggleSwitch IsChecked="True" /> | ||
|
||
<ToggleSwitch OffContent="Switch Off." OnContent="Switch On." /> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml) |
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Button | ||
|
||
SukiUI 提供了多种样式的按钮,并支持添加主题色 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/inputs/button.webp" height="300px" width="300px"/> | ||
|
||
- Busy | ||
|
||
<img src="/controls/inputs/button-busy.gif" height="300px" width="300px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<Button> | ||
<!-- Content --> | ||
</Button> | ||
``` | ||
|
||
### Busy | ||
|
||
```xml | ||
... | ||
xmlns:theme="clr-namespace:SukiUI.Theme;assembly=SukiUI" | ||
... | ||
|
||
<Button theme:ButtonExtensions.ShowProgress="true"> | ||
<!-- Content --> | ||
</Button> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ButtonsView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ButtonsView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# DropDownButton | ||
|
||
点击`DropDownButton`后,将会弹出自定义的内容 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/inputs/dropdownbutton.webp" height="300px" width="300px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<DropDownButton Content="Click To Open"> | ||
<DropDownButton.Flyout> | ||
<Flyout> | ||
<!-- Content --> | ||
</Flyout> | ||
</DropDownButton.Flyout> | ||
</DropDownButton> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/MiscView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/MiscView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ToggleButton | ||
|
||
## 展示 | ||
|
||
<img src="/controls/inputs/togglebutton.gif" height="300px" width="300px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<ToggleButton Content="Toggle Me" /> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# ToggleSwitch | ||
|
||
## 展示 | ||
|
||
<img src="/controls/inputs/toggleswitch.gif" height="300px" width="300px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<ToggleSwitch IsChecked="True" /> | ||
|
||
<ToggleSwitch OffContent="Switch Off." OnContent="Switch On." /> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml) |
Empty file.
Empty file.
Empty file.