Skip to content

Commit

Permalink
set property as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Mar 28, 2024
1 parent a54aeee commit 9e91dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Maui.DataGrid/DataGridColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ public bool IsVisible
/// <summary>
/// String format for the cell
/// </summary>
public string StringFormat
public string? StringFormat
{
get => (string)GetValue(StringFormatProperty);
get => (string?)GetValue(StringFormatProperty);
set => SetValue(StringFormatProperty, value);
}

Expand Down

0 comments on commit 9e91dbc

Please sign in to comment.