Skip to content

Commit 8cdb471

Browse files
Merge pull request #267 from syncfusion-content/UGUpdate
943738 Added theme keys for OtpInput and BottomSheet controls - Master
2 parents c488fce + cd41df1 commit 8cdb471

File tree

1 file changed

+146
-0
lines changed

1 file changed

+146
-0
lines changed

maui-toolkit/Themes/Keys.md

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,58 @@ documentation: ug
1111

1212
This page lists the keys for each control and the element to which it is mapped for all the controls.
1313

14+
## SfBottomSheet
15+
16+
<table>
17+
<tr>
18+
<th>Theme Dictionary <br/> <br/> </th>
19+
<th>Keys <br/> <br/> </th>
20+
<th> Description <br/> <br/> </th>
21+
</tr>
22+
23+
<tr>
24+
<td rowspan="3">
25+
SfBottomSheetStyles <br/> <br/>
26+
</td>
27+
<td> SfBottomSheetTheme <br/> <br/>
28+
</td>
29+
<td>
30+
By merging this key in application resources, you can customize the appearance of SfBottomSheet without merging common theme resource and control style resource dictionaries.
31+
32+
{% highlight xaml %}
33+
34+
<Application xmlns:syncTheme="clr-namespace:Syncfusion.Maui.Toolkit.Themes;assembly=Syncfusion.Maui.Toolkit"
35+
...>
36+
<Application.Resources>
37+
<ResourceDictionary>
38+
<ResourceDictionary.MergedDictionaries>
39+
<syncTheme:SyncfusionThemeResourceDictionary />
40+
<ResourceDictionary>
41+
<x:String x:Key="SfBottomSheetTheme">CommonTheme</x:String>
42+
<Color x:Key="SfBottomSheetBackground">AliceBlue</Color>
43+
<Color x:Key="SfBottomSheetGrabberBackground">Black</Color>
44+
</ResourceDictionary>
45+
</ResourceDictionary.MergedDictionaries>
46+
</ResourceDictionary>
47+
</Application.Resources>
48+
</Application>
49+
50+
{% endhighlight %}
51+
<br/>
52+
<br/>
53+
</td>
54+
</tr>
55+
<tr>
56+
<td>SfBottomSheetBackground<br/><br/></td>
57+
<td>The background color of the bottom sheet<br/><br/></td>
58+
</tr>
59+
<tr>
60+
<td>SfBottomSheetGrabberBackground<br/><br/></td>
61+
<td>The background color of the grabber<br/><br/></td>
62+
</tr>
63+
64+
</table>
65+
1466
## SfCartesian Chart
1567

1668
<table>
@@ -856,6 +908,100 @@ This page lists the keys for each control and the element to which it is mapped
856908
</tr>
857909
</table>
858910

911+
## SfOtpInput
912+
913+
<table>
914+
<tr>
915+
<th>Theme Dictionary<br/>
916+
<br/></th>
917+
<th>
918+
Keys
919+
<br/>
920+
<br/>
921+
</th>
922+
<th>
923+
Description
924+
<br/>
925+
<br/>
926+
</th>
927+
</tr>
928+
929+
<tr>
930+
<td rowspan="5">
931+
SfOtpInputStyles
932+
<br/>
933+
<br/>
934+
</td>
935+
<td>
936+
SfOtpInputTheme
937+
<br/>
938+
<br/>
939+
</td>
940+
<td>
941+
By merging this key in application resources, you can customize the appearance of SfOtpInput without merging common theme resource and control style resource dictionaries.
942+
943+
{% highlight xaml %}
944+
945+
<Application xmlns:syncTheme="clr-namespace:Syncfusion.Maui.Toolkit.Themes;assembly=Syncfusion.Maui.Toolkit"
946+
...>
947+
<Application.Resources>
948+
<ResourceDictionary>
949+
<ResourceDictionary.MergedDictionaries>
950+
<syncTheme:SyncfusionThemeResourceDictionary />
951+
<ResourceDictionary>
952+
<x:String x:Key="SfOtpInputTheme">CommonTheme</x:String>
953+
<Color x:Key="SfOtpInputTextColor">Yellow</Color>
954+
<Color x:Key="SfOtpInputFilledBackground">Red</Color>
955+
</ResourceDictionary>
956+
</ResourceDictionary.MergedDictionaries>
957+
</ResourceDictionary>
958+
</Application.Resources>
959+
</Application>
960+
961+
{% endhighlight %}
962+
<br/>
963+
<br/>
964+
</td>
965+
</tr>
966+
<tr>
967+
<td>
968+
SfOtpInputTextColor
969+
<br/>
970+
<br/>
971+
</td>
972+
<td>
973+
Text color of the OTP Input.
974+
<br/>
975+
<br/>
976+
</td>
977+
</tr>
978+
<tr>
979+
<td>
980+
SfOtpInputFilledBackground
981+
<br/>
982+
<br/>
983+
</td>
984+
<td>
985+
The background color of the OTP Input on filled state.
986+
<br/>
987+
<br/>
988+
</td>
989+
</tr>
990+
991+
<tr>
992+
<td> SfOtpInputBorderDefault <br/><br/></td>
993+
<td>Border color of the OTP Input.<br/><br/>
994+
</td>
995+
</tr>
996+
997+
<tr>
998+
<td> SfOtpInputPlaceholderColor <br/><br/></td>
999+
<td> Placeholder color of the OTP Input.<br/><br/>
1000+
</td>
1001+
</tr>
1002+
1003+
</table>
1004+
8591005
## SfPullToRefresh
8601006

8611007
<table>

0 commit comments

Comments
 (0)