We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Duvida sobre posicionamento dos menus no SFlistview

Thread ID:





150199 Dec 25,2019 06:42 PM UTC Dec 30,2019 05:35 AM UTC Xamarin.Forms 2
Tags: SfListView
Sidival Felisberto
Asked On December 25, 2019 06:48 PM UTC

Boa Tarde, Estou tentando montar um menu usando SFListview, mas estou tendo muita dificuldade com os espaços entre os menus e nas margens, vejo um exemplo de como esta hoje.


Sidival Felisberto
Replied On December 26, 2019 12:24 AM UTC

this work for me.

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
Title="Personal Organiser">

            <local:GroupHeaderConverter x:Key="TemplateConverter"/>
            <OnPlatform x:TypeArguments="x:String" x:Key="FFF_Tusj">
                <On Platform="Android" Value="FFF_Tusj.ttf#FFF_Tusj" />
                <On Platform="UWP" Value="/Assets/FFF_Tusj.ttf#FFF_Tusj" />
                <On Platform="iOS" Value="FFF_Tusj" />

        <local:ViewModel />

        <Grid CascadeInputTransparent="True" >
            <syncfusion:SfListView x:Name="listView" 
                                   ItemsSource="{Binding BookInfo}" 
                            <dataSource:GroupDescriptor PropertyName="menuOptionlevel" />


                <!-- Menu Pai -->
                                <StackLayout Spacing="0"

                                    <Label Text="{Binding Key}" 
                                           FontFamily="{StaticResource FFF_Tusj}"

                <!-- Menu Filho -->
                <syncfusion:SfListView.ItemTemplate >
                                <StackLayout Spacing="0"

                                    <Image Source= "ic_1.png"

                                    <Label LineBreakMode="NoWrap"
                                                       Text="{Binding menuOptionName}"
                                                       FontFamily="{StaticResource FFF_Tusj}" />

Gnana Priya Namasivayam [Syncfusion]
Replied On December 30, 2019 05:35 AM UTC

Hi Sidival, 

Thanks for using Syncfcusion products. 

We glad that reported issue have been resolved at your end. Please let us know if you need any further assistance from us. We are glad to help you out as always. 

Gnana Priya N 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon