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

Wrapping Task Tags

Thread ID:





145685 Jul 3,2019 02:19 PM UTC Jul 6,2019 08:50 AM UTC UWP 1
Tags: SfKanban
Asked On July 3, 2019 02:19 PM UTC


I'm wondering how to make the tags at the bottom of the cards wrap? So, for instance, when I put more than 3 decent size tags, it just keeps adding to the end. Is there a way to wrap them to continue below? 

Muneesh Kumar G [Syncfusion]
Replied On July 6, 2019 08:50 AM UTC

Hi Hunter, 
Greetings from Syncfusion. 
We have prepared a sample to wrap the tag item by setting the custom card template to the CardTemplate property. Please download the sample from the following location. 
Code Snippet: 
<DataTemplate x:Key="CustomCardTemplate"> 
                            <ScrollViewer x:Name="scrollView" Grid.Row="2" Grid.ColumnSpan="1" VerticalAlignment="Bottom" 
                                  Visibility="{Binding Tag.CardStyle.TagVisibility ,RelativeSource={RelativeSource Mode=TemplatedParent}}" 
                                <ItemsControl ItemsSource="{Binding Tags}"> 
                                                <ItemsWrapGrid x:Name="ItemWrapGrid" MaximumRowsOrColumns="3" ItemHeight="30" ItemWidth="70" DataContext="{Binding}" Orientation="Horizontal"/> 
                                            <Border BorderThickness="2" BorderBrush="Gray"  Margin="5"> 
                                                <TextBlock HorizontalAlignment="Center" FontSize="10" Text="{Binding }"/> 
<kanban:SfKanban x:Name="Kanban" ItemsSource="{Binding Tasks}" CardTemplate="{StaticResource CustomCardTemplate}"> 
Please let us know if you need further assistance on this. 
Muneesh Kumar G.   


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