From 8ef8235585a7bcd64c2219e449faeba2d01215d0 Mon Sep 17 00:00:00 2001 From: Swetha Date: Fri, 14 Jun 2024 10:48:38 +0530 Subject: [PATCH] Added Readme file --- README.md | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/README.md b/README.md index 225c9cb..8a2700e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,64 @@ # How-to-add-Header-and-Footer-support-in-DOTNET-MAUI-Autocomplete This repository contains a sample demonstrating of Header and Footer support in .NET MAUI Autocomplete. + +## Header and Footer support in .NET MAUI Autocomplete (SfAutocomplete) + +We can provide Header and Footer view in the dropdown in SfAutocomplete by enabling ShowDropDownHeaderView and ShowDropDownFooterView. + +## Header Content +We can provide Header Content at the top of the Autocomplete’s dropdown.DropDownHeaderView property is used to set the content of the header. The height of the Header in the SfAutocomplete can be adjusted by the property DropDownHeaderViewHeight. + +**XAML** +``` + + + + + + + + +``` + +## Footer Content + +We can provide Footer Content at the bottom of the Autocomplete’s dropdown. DropDownFooterView property is used to set the content of the footer.The height of the Footer in the SfAutocomplete can be adjusted by the property DropDownFooterViewHeight. + +The following code example illustrate how to set Footer content in SfAutocomplete. + +**XAML** + +``` + + + + + + + + +``` \ No newline at end of file