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

BorderView IsVisable property in DataGrid Xamarin Forms

Thread ID:





128198 Jan 7,2017 09:25 AM UTC Jan 10,2017 07:19 AM UTC Xamarin.Forms 3
Tags: SfDataGrid
Russ Fustino
Asked On January 7, 2017 09:25 AM UTC

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?

Divakar Subramaniam [Syncfusion]
Replied On 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. 

Russ Fustino
Replied On January 10, 2017 07:13 AM UTC

Thanks! Much appreciated. Love the Zip too!

Ashok N [Syncfusion]
Replied On January 10, 2017 07:19 AM UTC

Hi Russ,  

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



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