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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Simple ListView?

Thread ID:

Created:

Updated:

Platform:

Replies:

142973 Feb 27,2019 11:11 AM UTC Mar 1,2019 06:24 AM UTC WPF 3
loading
Tags: General
Helmut Wahrmann
Asked On February 27, 2019 11:11 AM UTC

Hi,

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?

thx,

Helmut

Jagadeesan Pichaimuthu [Syncfusion]
Replied On 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" > 
            
    <syncfusion:GroupBar.ItemContainerStyle> 
          <Style TargetType="{x:Type syncfusion:GroupBarItem}" BasedOn="{StaticResource Office2007BlueGroupBarItemStyle}"> 
               <Setter Property="Header" Value="{Binding}"/> 
               <Setter Property="HeaderTemplate"> 
                   <Setter.Value> 
                     <DataTemplate> 
                          <StackPanel Orientation="Horizontal"> 
                             <TextBlock Text="{Binding Name}" FontWeight="Bold" Margin="3" VerticalAlignment="Center"/> 
                          </StackPanel> 
                      </DataTemplate> 
                    </Setter.Value> 
               </Setter> 
               <Setter Property="Content" Value="{Binding}"/> 
               <Setter Property="ContentTemplate" Value="{StaticResource template}"/> 
               <Setter Property="IsExpanded" Value="True"/> 
            </Style> 
     </syncfusion:GroupBar.ItemContainerStyle> 
</syncfusion:GroupBar> 
 
 
 
 
Please try this above solution and let us know if it is helpful.  
 
Regards, 
Jagadeesan

Helmut Wahrmann
Replied On February 28, 2019 08:55 PM UTC

Hi Jagadeesan,

Works perfect.

thanks for the quick response,
Helmut


Jagadeesan Pichaimuthu [Syncfusion]
Replied On 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. 
 
Regards, 
Jagadeesan

CONFIRMATION

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

;