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

BorderView IsVisable property in DataGrid Xamarin Forms

Is it possible to remove the cell and column borders from on a datagrid thru a XAML setting in Xamarin Forms? Ie set a visible property or width on these lines to 0?

3 Replies

DS Divakar Subramaniam Syncfusion Team January 9, 2017 07:22 AM UTC

Hi Russ, 
Thanks for contacting Syncfusion Support. 
We have checked your query. You can able to hide the cell and column borders in SfDataGrid by override SfDataGrid.DataGridStyle class and return GridLineVisibility as None in GetGridLinesVisibilty() override and assign the overridden class to SfDataGrid.GridStyle property. Please refer the below code snippet for better understand. 
<sfGrid:SfDataGrid x:Name="dataGrid" 
//CustomGridStyle class 
public class CustomGridStyle : DataGridStyle 
    public override GridLinesVisibility GetGridLinesVisibility() 
        return GridLinesVisibility.None; 
Also, we have prepared a simple sample by achieved your requirement and you can download the same from the below link. 

RF Russ Fustino January 10, 2017 07:13 AM UTC

Thanks! Much appreciated. Love the Zip too!

AN Ashok N Syncfusion Team January 10, 2017 07:19 AM UTC

Hi Russ,  

Thanks for your update. Please let us know if you require further assistance on this. 


Live Chat Icon For mobile
Up arrow icon