Styling ComboBox, AutoComplete and Entry in Telerik MAUI After Upgrading to Version 8.0.0 or Later
Environment
Versions | Product | Author |
---|---|---|
8.0.0 or Later | Telerik UI for .NET MAUI ComboBox, AutoComplete, Entry | Dobrinka Yordanova |
Description
This knowledge base article answers the following questions:
- How can I apply an implicit style to the
RadComboBox
,RadAutoComplete
, andRadEntry
in Telerik MAUI after an update to 8.0.0 or a later version? - How do I style the inner input control (
RadTextInput
) used in theRadComboBox
,RadAutoComplete
andRadEntry
in Telerik MAUI version 8.0.0 or later?
Solution
This example shows how to apply an implicit style to the AutoComplete, ComboBox, and Entry, and apply an explicit style to the inner input control—TextInput.
1. Define the RadComboBox
, RadAutoComplete
and RadEntry
in XAML:
2. Define the implicit styles to the page's resources or in a global resource dictionary file:
For the RadTextInput
control—Define the explicit style through the TextInputStyle
property of the RadAutoComplete
and the RadComboBox
controls.