We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The .NET MAUI ComboBox control is a selection component that allows users to type a value or choose an option from a list of predefined options. It has many features, such as data binding, editing, searching, and button customization.


.NET MAUI ComboBox code example

Easily get started with the .NET MAUI ComboBox using a few simple lines of XAML code example as demonstrated below. Also explore our .NET MAUI ComboBox Example that shows you how to render and configure the .NET MAUI ComboBox.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:editors="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
             xmlns:local="clr-namespace:ComboBoxSample"
             x:Class="ComboBoxSample.MainPage">
    <ContentPage.BindingContext>
      <local:SocialMediaViewModel />
    </ContentPage.BindingContext>
    <ContentPage.Content>
        <editors:SfComboBox x:Name="comboBox" 
             WidthRequest="250"
             DisplayMemberPath = "Name"
             ItemsSource="{Binding SocialMedias}" />
    </ContentPage.Content>
</ContentPage>

Single selection

Select a single item from the suggestion list based on the entered text.

Single selection in .NET MAUI ComboBox.


Multiple selection

Select multiple items from the .NET MAUI ComboBox suggestion list and display the selected items either as tokens, such as in an email address bar, or text separated by a delimiter.

Token representation support in .NET MAUI ComboBox.

Token representation

Customizable token representation in the .NET MAUI ComboBox control allows users to remove an item with its close button.

Delimiter support in .NET MAUI ComboBox

Delimiter

Delimit the selected items with characters such as ‘$’ for dollar-sign separation or ‘,’ for traditional comma separation.


Editable and non-editable modes

The ComboBox control supports editable and non-editable modes to choose items.

.NET MAUI ComboBox editable mode.

Editable mode

Edit the text in a text box. Suggestions will be shown in the dropdown list based on the input.

.NET MAUI ComboBox with non-editable mode.

Non-editable mode

Items can be selected from the dropdown list, but the selected items cannot be edited.


Searching

The first item that fits the user input is highlighted in the dropdown list. Highlighting matching text in the ComboBox dropdown list makes it easy for users to identify and select the items they are looking for at a glance.

.NET MAUI ComboBox with load more button to load items on demand.

On-demand loading

With on-demand loading, if there are more filtered items than can be viewed, they won’t be populated. Instead, users can click the Load More button when they need more items.

.NET MAUI ComboBox with filtering option

Perform filtering when needed

The .NET MAUI ComboBox control starts offering matches as soon as users start typing, but supports a provision to set the number of characters required to start matching.


Autosize

The control dynamically extends its layout based on the input content.

.NET MAUI ComboBox enable auto size.


.NET MAUI ComboBox placeholder text.

Placeholder

Display hints using placeholder text when no item is selected. A well-designed placeholder provides context and makes the control more intuitive.


Data binding

Data-binding support works for all popular data sources and displays data based on the display member path. It automatically generates items from a data-bound collection. The application can be designed in the MVVM pattern.

.NET MAUI ComboBox data-binding support.


.NET MAUI ComboBox no result found support.

No results found

Users can set the desired text to be displayed when the entered text is not in the suggestion list of .NET MAUI ComboBox.


Appearance

.NET MAUI ComboBox maximum dropdown height.

Maximum dropdown height

Adjust the dropdown height based on the number of items to improve readability without scrolling. This enhances the user interface design and user experience.

.NET MAUI ComboBox item template.

Dropdown list items can be customized with an image or custom control. This enhances the user experience and provides a more tailored and user-friendly application.

.NET MAUI ComboBox dropdown button height and width customization

Users can adjust the width and height of the ComboBox’s dropdown button to match their design needs.


Text highlight mode

Highlights matching characters in a suggestion list to make it easy to pick an item.

.NET MAUI ComboBox text highlight mode

First occurrence

Highlights the first position of the matching characters in the suggestion list.

.NET MAUI ComboBox text highlight mode

Multiple occurrences

Highlights the matching characters present in the dropdown list when the TextSearchMode is set to “Contains”.




Struggling to decide on the right product?

Our comprehensive competitor comparison of .NET MAUI controls will guide you to the perfect choice.

tick-mark 60+ UI controls
tick-mark 200+ interactive .NET MAUI demos
tick-mark 777K+ downloads

Frequently Asked Questions

The Syncfusion .NET MAUI ComboBox control supports the following features:

  • Various types of data sources can be bound.
  • Editable and non-editable modes can be used to select an item from a list.
  • Users can select a single or multiple items from the dropdown list.
  • Built-in support to filter data items using the text entered in the text box. Also provides rich text searching functionality.
  • Complete customization of the UI and dropdown.
  • Simple configuration and APIs.
  • Touch-friendly UI.
  • Extensive demos, documentation, and videos to let you get started quickly with the .NET MAUI ComboBox.

You can find our .NET MAUI ComboBox demo here. It demonstrates how to render and configure the ComboBox control.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Syncfusion .NET MAUI Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon