Tritium UI

TritiumComboBox

Pick one item from a list, with an optional clear button and a display property.

TritiumComboBox

Key features

  • Bind ItemsSource and SelectedItem two-way.
  • Show a property of each object with DisplayMemberPath, or the object's text.
  • Offer a Clear button, or hide it when a value is required.
  • Opt in to haptic or sound feedback when the selection changes.
  • Use it as the enum editor that DataForm generates.

Platforms

Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI).

Main API

  • ItemsSource . The list of choices.
  • SelectedItem . The current choice, two-way.
  • DisplayMemberPath . Property name to show for each object.
  • IsClearable . Shows a Clear button that sets SelectedItem to null.

Basic example

Declare this namespace on the page.

xmlns:editors="clr-namespace:Tritium.Maui.Editors;assembly=Tritium.Maui.Editors"
<editors:TritiumComboBox ItemsSource="{Binding Statuses}"
                        SelectedItem="{Binding Status}"
                        DisplayMemberPath="Name"
                        IsClearable="True" />

Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.

Ask Tritium

How-to help and product fit for FleetPro, Tritium UI, and Tritium Reporting.

Ask how to use a feature, or tell us your company, platforms, team size, and use case. Pricing and upgrades go to sales.

Product fit
Contact sales

Search the FAQ