Skip to content

Commit 0b7857d

Browse files
Resolved the feedback.
1 parent afc3711 commit 0b7857d

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

README.md

+27-3
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,38 @@ The following code example illustrate how to set ContentSpacing in SfCheckBox.
1010
### XAML
1111

1212
```
13-
<syncfusion:SfCheckBox Text="Check Box" ContentSpacing="25"/>
14-
13+
<StackLayout Padding="20">
14+
<syncfusion:SfCheckBox Text="I accept the terms and conditions"
15+
ContentSpacing="15"
16+
IsChecked="True"
17+
HorizontalOptions="Start"/>
18+
19+
<syncfusion:SfCheckBox Text="Subscribe to newsletter"
20+
ContentSpacing="15"
21+
IsChecked="False"
22+
HorizontalOptions="Start"/>
23+
24+
<syncfusion:SfCheckBox Text="Enable email notifications"
25+
ContentSpacing="15"
26+
IsChecked="True"
27+
HorizontalOptions="Start"/>
28+
29+
<syncfusion:SfCheckBox Text="Remember me on this device"
30+
ContentSpacing="15"
31+
IsChecked="False"
32+
HorizontalOptions="Start"/>
33+
34+
<syncfusion:SfCheckBox Text="Allow location access"
35+
ContentSpacing="15"
36+
IsChecked="True"
37+
HorizontalOptions="Start"/>
38+
</StackLayout>
1539
```
1640

1741
### C#
1842

1943
```
2044
SfCheckBox sfCheckBox = new SfCheckBox();
21-
sfCheckBox.Text = "Check Box";
45+
sfCheckBox.Text = "I accept the terms and conditions";
2246
sfCheckBox.ContentSpacing = 25;
2347
```

0 commit comments

Comments
 (0)