Skip to content

Commit

Permalink
Merge pull request #300 from AuroraZiling/main
Browse files Browse the repository at this point in the history
Docs Update
  • Loading branch information
kikipoulet authored Oct 9, 2024
2 parents 5cdebef + 26ecd9e commit 28bf022
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
7 changes: 0 additions & 7 deletions docs/docs/documentation/controls/inputs/radiobutton.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ A control used for collecting the user's choice.

![{3562E3E6-C5A7-4D5C-BB1A-BF95347A6AA3}](https://github.com/user-attachments/assets/3157a435-10dd-4d84-ac91-e83739023ee9)



```xml
<RadioButton Content="Option One"
GroupName="A"
Expand All @@ -18,8 +16,6 @@ A control used for collecting the user's choice.

![{6BB65B0C-C0E8-4F6E-ADC0-EB29FFDD93DA}](https://github.com/user-attachments/assets/7d573d74-65b0-4379-a4b7-2830bfd381cf)



```xml
<RadioButton Classes="Chips" Content="Option One" IsChecked="True" />
```
Expand All @@ -28,9 +24,6 @@ A control used for collecting the user's choice.

![{466C440E-25EE-4CF1-985F-EC8105043D22}](https://github.com/user-attachments/assets/aea0e668-c02c-432c-9f3f-e8621e726444)




```xml
<RadioButton Classes="GigaChips" Content="Option One" IsChecked="True" />
```
Expand Down
22 changes: 18 additions & 4 deletions docs/docs/zh/documentation/controls/inputs/radiobutton.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,32 @@

收集用户单项选择的控件

## 展示
## Base

<img src="/controls/inputs/radiobutton.gif"/>

## 示例
![{3562E3E6-C5A7-4D5C-BB1A-BF95347A6AA3}](https://github.com/user-attachments/assets/3157a435-10dd-4d84-ac91-e83739023ee9)

```xml
<RadioButton Content="Option One"
GroupName="A"
IsChecked="True" />
```

## Chips

![{6BB65B0C-C0E8-4F6E-ADC0-EB29FFDD93DA}](https://github.com/user-attachments/assets/7d573d74-65b0-4379-a4b7-2830bfd381cf)

```xml
<RadioButton Classes="Chips" Content="Option One" IsChecked="True" />
```

## GigaChips

![{466C440E-25EE-4CF1-985F-EC8105043D22}](https://github.com/user-attachments/assets/aea0e668-c02c-432c-9f3f-e8621e726444)

```xml
<RadioButton Classes="GigaChips" Content="Option One" IsChecked="True" />
```

## 参阅

[Demo: SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml)

0 comments on commit 28bf022

Please sign in to comment.