Skip to content

Commit

Permalink
fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Jan 24, 2024
1 parent 2bd6e76 commit 943c7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Maui.DataGrid/DataGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ private void InitHeaderView()
{
if (existingCHild is not DataGridCell existingCell)
{
throw new InvalidDataException($"{nameof(DataGridRow)} should only contain {nameof(DataGridCell)}s");
throw new InvalidDataException($"Header row should only contain {nameof(DataGridCell)}s");
}

if (existingCell.Column != col)
Expand Down

0 comments on commit 943c7da

Please sign in to comment.