-
Notifications
You must be signed in to change notification settings - Fork 151
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 #268 from AuroraZiling/main
Docs update & Bump Avalonia Version 11.1.2
- Loading branch information
Showing
22 changed files
with
262 additions
and
17 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
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,26 @@ | ||
# CircleProgressBar | ||
|
||
Circle Progress Bar | ||
|
||
## Show | ||
|
||
<img src="/controls/progress/circleprogressbar.gif" height="300px" width="200px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<suki:CircleProgressBar IsIndeterminate="{Binding IsIndeterminate}" | ||
StrokeWidth="11" | ||
Value="{Binding ProgressValue}"> | ||
<TextBlock Margin="0,2,0,0" // Show percentage | ||
Classes="h3" | ||
IsVisible="{Binding IsTextVisible}" | ||
Text="{Binding ProgressValue, StringFormat={}{0:#0}%}" /> | ||
</suki:CircleProgressBar> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/CircleProgressBar.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/CircleProgressBar.axaml.cs) |
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,19 @@ | ||
# Loading | ||
|
||
Loading Indicator | ||
|
||
## Show | ||
|
||
<img src="/controls/progress/loading.gif" height="300px" width="200px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<suki:Loading /> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/Loading.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/Loading.axaml.cs) |
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 @@ | ||
# ProgressBar | ||
|
||
Progress Bar | ||
|
||
## Show | ||
|
||
<img src="/controls/progress/progressbar.gif" height="300px" width="400px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<ProgressBar IsIndeterminate="{Binding IsIndeterminate}" ShowProgressText="{Binding IsTextVisible}" Value="{Binding ProgressValue}"/> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.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,25 @@ | ||
# Stepper | ||
|
||
A bar that guides users through the steps of a task | ||
|
||
## Show | ||
|
||
<img src="/controls/progress/stepper.gif" height="300px" width="300px"/> | ||
|
||
## Example | ||
|
||
```xml .axaml | ||
<suki:Stepper Index="{Binding StepIndex}" Steps="{Binding Steps}" /> | ||
``` | ||
|
||
```csharp | ||
[ObservableProperty] private int _stepIndex = 1; | ||
public IEnumerable<string> Steps { get; } = | ||
["First Step", "Second Step", "Third Step"]; | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/Stepper.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/Stepper.axaml.cs) |
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,21 @@ | ||
# WaveProgress | ||
|
||
Progress Controls with Wave Animation | ||
|
||
## Show | ||
|
||
<img src="/controls/progress/waveprogress.gif" height="300px" width="300px"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<suki:WaveProgress | ||
IsTextVisible="{Binding IsTextVisible}" // Display the percentage or not | ||
Value="{Binding ProgressValue}" /> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/WaveProgress.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/WaveProgress.axaml.cs) |
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.
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.
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
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,26 @@ | ||
# CircleProgressBar | ||
|
||
圆形进度条 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/progress/circleprogressbar.gif" height="300px" width="200px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<suki:CircleProgressBar IsIndeterminate="{Binding IsIndeterminate}" | ||
StrokeWidth="11" | ||
Value="{Binding ProgressValue}"> | ||
<TextBlock Margin="0,2,0,0" // 百分比显示 | ||
Classes="h3" | ||
IsVisible="{Binding IsTextVisible}" | ||
Text="{Binding ProgressValue, StringFormat={}{0:#0}%}" /> | ||
</suki:CircleProgressBar> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/CircleProgressBar.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/CircleProgressBar.axaml.cs) |
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,19 @@ | ||
# Loading | ||
|
||
加载控件 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/progress/loading.gif" height="300px" width="200px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<suki:Loading /> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/Loading.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/Loading.axaml.cs) |
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 @@ | ||
# ProgressBar | ||
|
||
进度条 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/progress/progressbar.gif" height="300px" width="400px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<ProgressBar IsIndeterminate="{Binding IsIndeterminate}" ShowProgressText="{Binding IsTextVisible}" Value="{Binding ProgressValue}"/> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.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,25 @@ | ||
# Stepper | ||
|
||
指引用户分步骤完成一项任务的控件 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/progress/stepper.gif" height="300px" width="300px"/> | ||
|
||
## 示例 | ||
|
||
```xml .axaml | ||
<suki:Stepper Index="{Binding StepIndex}" Steps="{Binding Steps}" /> | ||
``` | ||
|
||
```csharp | ||
[ObservableProperty] private int _stepIndex = 1; | ||
public IEnumerable<string> Steps { get; } = | ||
["First Step", "Second Step", "Third Step"]; | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/Stepper.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/Stepper.axaml.cs) |
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,21 @@ | ||
# WaveProgress | ||
|
||
带波浪动画的进度控件 | ||
|
||
## 展示 | ||
|
||
<img src="/controls/progress/waveprogress.gif" height="300px" width="300px"/> | ||
|
||
## 示例 | ||
|
||
```xml | ||
<suki:WaveProgress | ||
IsTextVisible="{Binding IsTextVisible}" // 是否显示百分比 | ||
Value="{Binding ProgressValue}" /> | ||
``` | ||
|
||
## 参阅 | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml) | ||
|
||
[API: Controls/WaveProgress.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/WaveProgress.axaml.cs) |