File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 11# How-to-customize-the-dropdowns-width-in-DOTNET-MAUI-AutoComplete-SfAutoComplete
22This repository contains a sample demonstrating of customizing the dropdown's width in .NET MAUI AutoComplete
3+ ## DropdownPlacement support in .NET MAUI AutoComplete (SfAutoComplete)
4+ We can change the dropdown's width in SfAutoComplete by changing the DropdownWidth value.
5+
6+ The following code example illustrate how to set DropdownWidth in SfAutoComplete.
7+
8+ ** XAML**
9+ ```
10+ <editors:SfAutocomplete DropdownWidth="250"
11+ HeightRequest="40"
12+ WidthRequest="200">
13+ <editors:SfAutocomplete.ItemsSource>
14+ <x:Array Type="{x:Type x:String}">
15+ <x:String>Uganda</x:String>
16+ <x:String>Ukraine</x:String>
17+ <x:String>United States</x:String>
18+ <x:String>United Kingdom</x:String>
19+ <x:String>Uzbekistan</x:String>
20+ </x:Array>
21+ </editors:SfAutocomplete.ItemsSource>
22+ </editors:SfAutocomplete>
23+
24+ ```
You can’t perform that action at this time.
0 commit comments