PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 13, 2022

[FIXED] How to show all the content of list view row

 September 13, 2022     c#, cross-platform, listview, xamarin.forms, xaml     No comments   

Issue

I am working with Xamarin forms in order to make a crossplatform APP.

I am using a list view but I can't figure how to make a row show it's full content enter image description here

I tried to add HasUnevenRows="True" but didn't do the trick. I also tried to fix RowHeight="100"

Can someone please help me.


Solution

<ListView RowHeight="100" x:Name="ContextDemoList">
  <ListView.ItemTemplate>
    <DataTemplate>
      <ViewCell>
         <StackLayout Padding="5">
              <Label VerticalOptions="CenterAndExpand" Text="{Binding title}" />
         </StackLayout>
      </ViewCell>
         </DataTemplate>
       </ListView.ItemTemplate>
     </ListView>


Answered By - Ufuk Zimmerman
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing