Skip to content

Commit

Permalink
add parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Mar 23, 2024
1 parent 583d82a commit 46166af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Maui.DataGrid/DataGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ private void SortAndPaginate(SortData? sortData = null)
/// </summary>
public static readonly BindableProperty SortedColumnIndexProperty =
BindablePropertyExtensions.Create<DataGrid, SortData?>(null, BindingMode.TwoWay,
(b, v) =>
validateValue: (b, v) =>
{
var self = (DataGrid)b;

Expand All @@ -739,7 +739,7 @@ private void SortAndPaginate(SortData? sortData = null)

return self.CanSort(v);
},
(b, o, n) =>
propertyChanged: (b, o, n) =>
{
if (b is DataGrid self)
{
Expand Down

0 comments on commit 46166af

Please sign in to comment.