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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Plugin.Maui.SimpleSearchPicker
by Henri Vainio
Simple search picker for .NET MAUI (.NET 8 and later).
Just like any other picker but with search capabilities!
Simple design, takes only small space in your UI
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
<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
Product | Versions 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.
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
-
net8.0-ios17.5
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
-
net8.0-maccatalyst17.5
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
-
net8.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 8.0.72)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.72)
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 |