diff --git a/Maui.DataGrid/DataGridHeaderRow.cs b/Maui.DataGrid/DataGridHeaderRow.cs index 18c109a..6743518 100644 --- a/Maui.DataGrid/DataGridHeaderRow.cs +++ b/Maui.DataGrid/DataGridHeaderRow.cs @@ -28,8 +28,6 @@ internal sealed class DataGridHeaderRow : Grid new() { Width = new(1, GridUnitType.Auto) }, ]; - private readonly Thickness _headerCellPadding = new(0, 0, 4, 0); - private readonly Command _sortCommand = new(OnSort, CanSort); #endregion Fields @@ -197,7 +195,6 @@ private DataGridCell CreateHeaderCell(DataGridColumn column) var cellContent = new Grid { - Padding = _headerCellPadding, ColumnDefinitions = _headerColumnDefinitions, RowDefinitions = _headerRowDefinitions, };