diff --git a/Maui.DataGrid/DataGrid.xaml.cs b/Maui.DataGrid/DataGrid.xaml.cs index 9a460a0..b39438f 100644 --- a/Maui.DataGrid/DataGrid.xaml.cs +++ b/Maui.DataGrid/DataGrid.xaml.cs @@ -1383,11 +1383,11 @@ private IEnumerable GetPaginatedItems(IEnumerable unpaginatedIte } /// - /// Checks if PageSizeList contains the new PageSize value, so that it shows in the dropdown + /// Checks if PageSizeList contains the new PageSize value, so that it shows in the dropdown. /// private void UpdatePageSizeList() { - if (PageSizeList.Contains(PageSize)) + if (_pageSizeList.Contains(PageSize)) { return; }