Margin between TileViewItems

I've followed your KB-Entry about setting a margin between TileViewItems but if I do it exactly as instructed I have only the item itself with a margin but the header item remains the complete width which means I haven't got a margin between the TileViewItem Headers which looks pretty weird.

https://www.syncfusion.com/kb/8840/how-to-set-margin-between-each-tileviewitem-in-tileviewcontrol

Has this changed somehow or how do I accomplish it to have a margin between the items including the header?


4 Replies

AI Anirudhan Iyyappan Syncfusion Team February 25, 2020 09:40 AM UTC

Hi Andreas, 
  
Thanks for contacting Syncfusion support. 
  
Based on your update we understood that the provided margin through the Style is not getting applied to the Item header, we have tried this in a sample and we can see that margin was applied to the complete item including the Header. Please refer the sample we used for our reference. 
  
Screen Shot : 
 
 
  
  
Also, we have planned to replace the sample in a proper working link before the end of 2020 Vol 1 release. 
  
Please let us know if you have any concern. 
  
Regards, 
Anirudhan 



AO Andreas Oelke February 26, 2020 06:59 AM UTC

Thanks for your response. 
It seems to work in your sample but not when I'm using a TileViewControl.ItemTemplate.

See my modified sample. It seems the margin is applied inside the content and outside the TileItem too. So it's kind of double applied which makes it unusable if you try to make everything in the same color.

Attachment: TileView_70b4c119.zip


AI Anirudhan Iyyappan Syncfusion Team February 27, 2020 10:54 AM UTC

Hi Andrea,  
  
Thank you for contacting Syncfusion support.  
  
We are able to reproduce the reported issue ”When using TileView.ItemTemplate Margin applied at both outside and inside of TileView”. We confirm this as a defect and logged a bug report. We will provide the patch on or before March 12, 2020. Meanwhile, you can track the status of the bug report through our below feedback link.  
  
  
Regards,  
Anirudhan 



AI Anirudhan Iyyappan Syncfusion Team March 12, 2020 01:10 PM UTC

Hi Andrea   
   
Thanks for your patience.  
  
The reported “When using TileView.ItemTemplate Margin applied at both outside and inside of TileView” issue has been fixed and included in the patch which can be download from the below links.  
   
Recommended approach - exe will perform automatic configuration.   
   
Please find the patch setup from below location:   
   
Patch link :   
Please find the patch assemblies alone from below location:   
   
Assemblies Link:   
  
Nuget link:    
  
   
Assembly Version: 17.4.0.39   
   
Installation Directions:   
This patch should replace the files "Themes.Blend.WPF, Themes.Metro.WPF, Themes.VisualStudio2013.WPF, Themes.Office2010Blue.WPF, Themes.Office2010Silver.WPF, Themes.Office2010Black.WPF, Themes.Office2013White.WPF, Themes.Office2013LightGray.WPF, Themes.Office2013DarkGray.WPF, Themes.Lime.WPF, Themes.Saffron.WPF, Themes.Office365.WPF, Themes.Office2016White.WPF, Themes.Office2016Colorful.WPF, Themes.Office2016DarkGray.WPF, Themes.VisualStudio2015.WPF” under the following folder.   
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]   
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\17.4.0.39\precompiledassemblies\17.4.0.39\4.6   
   
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.   
   
   
Disclaimer:   
 
Please note that we have created this patch for version 17.4.0.39 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.   
   
Regards,   
Anirudhan 



Loader.
Up arrow icon