Skip to content

SyncfusionExamples/How-to-customize-the-dropdowns-placement-in-DOTNET-MAUI-ComboBox-SfComboBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

How-to-customize-the-dropdowns-placement-in-.NET-MAUI-ComboBox-SfComboBox

This repository contains a sample demonstrating of customizing the dropdown's placement in .NET MAUI ComboBox

DropdownPlacement support in .NET MAUI ComboBox (SfComboBox)

We can change the dropdown's position in SfComboBox by changing the DropdownPlacement value.By adjusting this DropdownPlacement value, you can control the dropdown's position to better suit the design and functionality of your application.

The following code example illustrate how to set DropdownPlacement in SfComboBox.

XAML

<editors:SfComboBox  WidthRequest="200" 
                          HeightRequest = "40"
                          DropDownPlacement = "Top">
                <editors:SfComboBox.ItemsSource>
                    <x:Array Type="{x:Type x:String}">
                        <x:String>Telegram</x:String>
                        <x:String>Televzr</x:String>
                        <x:String>Tik Tok</x:String>
                        <x:String>Tout</x:String>
                        <x:String>Tumblr</x:String>
                        <x:String>Twitter</x:String>
                    </x:Array>
                </editors:SfComboBox.ItemsSource>
            </editors:SfComboBox>

About

This repository contains a sample demonstrating of customizing the dropdown's placement in .NET MAUI ComboBox

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages