title: Xamarin Forms Collection View Extra Padding
body: <p>I"m trying out the Xamarin Forms Collection View. It appears to have some extra padding around each item in the list. I can't see how to remove it.</p>
  
  <p>Here is a picture of my view. The view has an aqua background. The 2 column grid in the template has labels set to red.</p>
  
  <p><a href="https://i.stack.imgur.com/0iU9j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0iU9j.png" alt="enter image description here"></a></p>
  
  <p>And here is the XAML/C#</p>
  
  <pre><code>&lt;CollectionView 
      x:Name="BodyView"
      SelectionMode="Single"
      HorizontalOptions="FillAndExpand"
      BackgroundColor="Aqua"
      Grid.Row="2" /&gt;
  
  BodyView.ItemTemplate = new DataTemplate(() =&gt;
  {
      var converter = (IValueConverter) Application.Current.Resources["GridCellConverter"];
  
      Grid grid = new Grid( );
      grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
  
      foreach (var col in _gridColumns)
      {
          grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
  
          var content = new Label();
          content.Style = (Style)Application.Current.Resources["GridCellLabel"];
          content.BackgroundColor = Color.Red;
          Binding binding = new Binding("CellData", BindingMode.OneWay, converter, col.PageFieldId);
          content.SetBinding(Label.TextProperty, binding);
          grid.Children.Add(content, grid.ColumnDefinitions.Count - 1, 0);
      }
  
      return grid;
  });
  </code></pre>
  
  <p>I zeroed everything I could find to zero.</p>
  
  <p>I tried setting a negative margin on the grid but it won't move left.</p>
  
  <p>Is there any way to remove the padding?</p>