Skip to content

Kiriakos41/ComboBox.Maui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 

Repository files navigation

515901-200

Maui.ComboBox ⬇️

A custom ComboBox control specifically designed for .NET MAUI, optimized for Android applications.
This control brings the familiar ComboBox functionality to your MAUI projects.

Platform Supported
iOS
Android
Mac Catalyst
Windows
Tizen

Getting Started

NuGet NuGet Downloads

Add Namespace

xmlns:controls="clr-namespace:ComboBox.Maui;assembly=ComboBox.Maui"

Create Control

<controls:ComboBox ItemsSource="{Binding Items}" ShownText="Name" Icon="Search.png" />

How it works

• ItemsSource: Binds a collection of items (e.g., a list) from your ViewModel to the ComboBox.

• ShownText: Specifies which property of your model (e.g., Item) to display in the ComboBox.

• Setting ShownText="Name" will display the Name property of each Item in the ComboBox.

• Placeholder: Displays a small, hint text in the ComboBox when no item is selected.

• Icon: When you provide an image name, it displays the icon in front of the entry field. If the image name is empty or not provided, the icon will not be shown.

Sample

Recording.2024-09-12.151952.mp4

Sample with icon (Search.png)

image