diff --git a/DataGridSample/DataGridSample/Views/MainPage.xaml b/DataGridSample/DataGridSample/Views/MainPage.xaml index 38e6ede..c9b6ec2 100644 --- a/DataGridSample/DataGridSample/Views/MainPage.xaml +++ b/DataGridSample/DataGridSample/Views/MainPage.xaml @@ -1,4 +1,4 @@ - + + RowHeight="70" HeaderHeight="50" BorderColor="#CCCCCC" HeaderBackground="#E0E6F8" + PullToRefreshCommand="{Binding RefreshCommand}" IsRefreshing="{Binding IsRefreshing}" + ActiveRowColor="#8899AA" ColumnSeparatorWidth="2.5" RowSeparatorHeight="1.5" + BorderThickness="2.5" CellPadding="8" HeaderBordersVisible="true" + HeaderLabelStyle="{StaticResource HeaderStyle}" + > 15 @@ -59,6 +62,11 @@ + diff --git a/Xamarin.Forms.DataGrid/DataGrid.xaml b/Xamarin.Forms.DataGrid/DataGrid.xaml index 7b1f292..8602693 100644 --- a/Xamarin.Forms.DataGrid/DataGrid.xaml +++ b/Xamarin.Forms.DataGrid/DataGrid.xaml @@ -4,8 +4,9 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Xamarin.Forms.DataGrid;assembly=Xamarin.Forms.DataGrid" x:Class="Xamarin.Forms.DataGrid.DataGrid" - Padding="0" - RowSpacing="0"> + RowSpacing="0" + BackgroundColor="{Binding BorderColor, Source={x:Reference self}}" + > @@ -19,14 +20,11 @@ -