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

Simple ListView?


i can't find something like a simple Listview to Display a Image and a Text Below.
There seems to be something available in GroupBar, but there i always would need to select an item to see details.

any other way?



3 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team February 28, 2019 09:24 AM UTC

Hi Helmut, 
Thank you for contacting Syncfusion support. 
We have checked your query “How to display all the GroupBar items in expanded mode instead of selecting it every time”.  We have prepared a sample based on your requirement in which we have displayed all group bar items by setting its IsExpanded property as true in GroupBar. Please find the code snippet, screenshot and sample for the same from below location: 
<syncfusion:GroupBar Name="gBar"  Margin="10" ItemHeaderHeight="25" ItemsSource="{Binding SampleList}" 
          Width="300"   HorizontalAlignment="Center" VisualMode="MultipleExpansion" > 
          <Style TargetType="{x:Type syncfusion:GroupBarItem}" BasedOn="{StaticResource Office2007BlueGroupBarItemStyle}"> 
               <Setter Property="Header" Value="{Binding}"/> 
               <Setter Property="HeaderTemplate"> 
                          <StackPanel Orientation="Horizontal"> 
                             <TextBlock Text="{Binding Name}" FontWeight="Bold" Margin="3" VerticalAlignment="Center"/> 
               <Setter Property="Content" Value="{Binding}"/> 
               <Setter Property="ContentTemplate" Value="{StaticResource template}"/> 
               <Setter Property="IsExpanded" Value="True"/> 
Please try this above solution and let us know if it is helpful.  

HW Helmut Wahrmann February 28, 2019 08:55 PM UTC

Hi Jagadeesan,

Works perfect.

thanks for the quick response,

JP Jagadeesan Pichaimuthu Syncfusion Team March 1, 2019 06:24 AM UTC

Hi Helmut, 
Thanks for the update. 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 

Live Chat Icon For mobile
Up arrow icon