ComponentOne Xamarin Edition
Editing
Controls > Input > ComboBox > Features > Editing

The ComboBox control allows users to input data by either selecting an item from the drop-down or by typing text into the text box. By default, the ComboBox control is editable, allowing users to provide input by typing. However, you can disable editing by setting the value of IsEditable property to False.

To change the default behavior, set the IsEditable property using the following code.

In Code

C#
Copy Code
this.cbxEdit.IsEditable = false;

In XAML

XAML
Copy Code
<c1:C1ComboBox x:Name="cbxEdit" IsEditable="False" HorizontalOptions="FillAndExpand"
    DisplayMemberPath="Name" />