-
Notifications
You must be signed in to change notification settings - Fork 152
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 #238 from AuroraZiling/main
Docs update
- Loading branch information
Showing
37 changed files
with
284 additions
and
74 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
File renamed without changes.
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,19 @@ | ||
# CheckBox | ||
|
||
A control used for collecting user's choices. | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/checkbox.gif"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<CheckBox Content="Option One" IsChecked="True" /> | ||
<CheckBox Content="Option Two" /> | ||
<CheckBox IsThreeState="True" Content="Option Three" /> | ||
``` | ||
|
||
## 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
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,51 @@ | ||
# ContextMenu | ||
|
||
Add a right-click triggered context menu for a control. | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/contextmenus.gif"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<controls:GlassCard> | ||
<controls:GlassCard.ContextMenu> | ||
<ContextMenu> | ||
<MenuItem Command="{Binding OptionClickedCommand}" | ||
CommandParameter="{x:False}" | ||
Header="Option" /> | ||
|
||
<MenuItem Header="Disabled Option" IsEnabled="False" /> | ||
|
||
<MenuItem Command="{Binding OptionClickedCommand}" | ||
CommandParameter="{x:True}" | ||
Header="Option With Icon"> | ||
<MenuItem.Icon> | ||
<PathIcon /> | ||
</MenuItem.Icon> | ||
</MenuItem> | ||
|
||
<MenuItem Header="Disabled With Icon" IsEnabled="False"> | ||
<MenuItem.Icon> | ||
<PathIcon /> | ||
</MenuItem.Icon> | ||
</MenuItem> | ||
|
||
<MenuItem Header="Separator Next" /> | ||
<MenuItem Header="-" /> | ||
|
||
<MenuItem Header="Submenu"> | ||
<MenuItem Header="Sub-Submenu"> | ||
<MenuItem Command="{Binding}" Header="Nested Option" /> | ||
<MenuItem Header="Disabled Nested Option" IsEnabled="False" /> | ||
</MenuItem> | ||
</MenuItem> | ||
</ContextMenu> | ||
</controls:GlassCard.ContextMenu> | ||
</controls:GlassCard> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/ControlsLibrary/ContextMenusView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/ContextMenusView.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# NumericUpDown | ||
|
||
A component for numeric input | ||
A control for numeric input. | ||
|
||
## Show | ||
|
||
|
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 @@ | ||
# RadioButton | ||
|
||
A control used for collecting the user's choice. | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/radiobutton.gif"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<RadioButton Content="Option One" | ||
GroupName="A" | ||
IsChecked="True" /> | ||
``` | ||
|
||
## 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
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 @@ | ||
# TextBox | ||
|
||
A control used for collecting user provided information. | ||
|
||
## Show | ||
|
||
<img src="/controls/inputs/textbox.gif"/> | ||
|
||
## Example | ||
|
||
```xml | ||
<TextBox theme:TextBoxExtensions.Prefix="Username" Watermark="John" /> | ||
``` | ||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/Features/Dashboard/DashboardView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/Dashboard/DashboardView.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
Oops, something went wrong.