Plugin.Maui.SimpleSearchPicker 1.0.4

dotnet add package Plugin.Maui.SimpleSearchPicker --version 1.0.4                
NuGet\Install-Package Plugin.Maui.SimpleSearchPicker -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.Maui.SimpleSearchPicker" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Plugin.Maui.SimpleSearchPicker --version 1.0.4                
#r "nuget: Plugin.Maui.SimpleSearchPicker, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Plugin.Maui.SimpleSearchPicker as a Cake Addin
#addin nuget:?package=Plugin.Maui.SimpleSearchPicker&version=1.0.4

// Install Plugin.Maui.SimpleSearchPicker as a Cake Tool
#tool nuget:?package=Plugin.Maui.SimpleSearchPicker&version=1.0.4                

Plugin.Maui.SimpleSearchPicker

by Henri Vainio

Simple search picker for .NET MAUI (.NET 8 and later).

image

Just like any other picker but with search capabilities!

image

Simple design, takes only small space in your UI

image

Easy to use

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns:ui="clr-namespace:Plugin.Maui.SimpleSearchPicker;assembly=Plugin.Maui.SimpleSearchPicker"
    ... >
      <VerticalStackLayout Padding="30,0,30,300"
                           Spacing="25">
          <ui:SearchPicker x:Name="searchPicker"
                           IsFocusedChanged="SearchPicker_Focused" 
                           MaximumWidthRequest="200"
                           ItemsSource="{Binding Data}"
                           SelectedItem="{Binding SelectedData}"
                           SelectedItemChanged="SelectedItemChanged"
                           />
    </VerticalStackLayout>

</ContentPage>

Use your own data templates

image

<ui:SearchPicker x:Name="searchPicker"
                 IsFocusedChanged="SearchPicker_Focused"
                 MaximumWidthRequest="200"
                 ItemsSource="{Binding Data}"
                 SelectedItem="{Binding SelectedData}"
                 SelectedItemChanged="SelectedItemChanged">
    <ui:SearchPicker.ItemTemplate>
        <DataTemplate x:DataType="{x:Type ui:IStringPresentable}">
            <VerticalStackLayout Loaded="Label_Loaded" Padding="4">
                <Label Text="This data includes:" />
                <Label Text="{Binding VisibleData}" />
            </VerticalStackLayout>
        </DataTemplate>
    </ui:SearchPicker.ItemTemplate>
</ui:SearchPicker>

Multiplatform

Notice that currently only Windows and Android checked to work

image

Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net8.0-ios17.5 is compatible.  net8.0-maccatalyst17.5 is compatible.  net8.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 122 9/17/2024