diff --git a/Maui.DataGrid/DataGridColumn.cs b/Maui.DataGrid/DataGridColumn.cs index 44aa14d..6fc6b6d 100644 --- a/Maui.DataGrid/DataGridColumn.cs +++ b/Maui.DataGrid/DataGridColumn.cs @@ -46,7 +46,7 @@ public event EventHandler SizeChanged #region Bindable Properties public static readonly BindableProperty WidthProperty = - BindablePropertyExtensions.Create(GridLength.Star, + BindablePropertyExtensions.Create(GridLength.Star, propertyChanged: (b, o, n) => { if (!o.Equals(n) && b is DataGridColumn self) @@ -57,18 +57,18 @@ public event EventHandler SizeChanged }); public static readonly BindableProperty TitleProperty = - BindablePropertyExtensions.Create(string.Empty, + BindablePropertyExtensions.Create(string.Empty, propertyChanged: (b, _, n) => ((DataGridColumn)b).HeaderLabel.Text = n); public static readonly BindableProperty FormattedTitleProperty = - BindablePropertyExtensions.Create( + BindablePropertyExtensions.Create( propertyChanged: (b, _, n) => ((DataGridColumn)b).HeaderLabel.FormattedText = n); public static readonly BindableProperty PropertyNameProperty = - BindablePropertyExtensions.Create(); + BindablePropertyExtensions.Create(); public static readonly BindableProperty IsVisibleProperty = - BindablePropertyExtensions.Create(true, + BindablePropertyExtensions.Create(true, propertyChanged: (b, o, n) => { if (o != n && b is DataGridColumn column) @@ -86,28 +86,28 @@ public event EventHandler SizeChanged }); public static readonly BindableProperty StringFormatProperty = - BindablePropertyExtensions.Create(); + BindablePropertyExtensions.Create(); public static readonly BindableProperty CellTemplateProperty = - BindablePropertyExtensions.Create(); + BindablePropertyExtensions.Create(); public static readonly BindableProperty EditCellTemplateProperty = - BindablePropertyExtensions.Create(); + BindablePropertyExtensions.Create(); public static readonly BindableProperty LineBreakModeProperty = - BindablePropertyExtensions.Create(LineBreakMode.WordWrap); + BindablePropertyExtensions.Create(LineBreakMode.WordWrap); public static readonly BindableProperty HorizontalContentAlignmentProperty = - BindablePropertyExtensions.Create(LayoutOptions.Center); + BindablePropertyExtensions.Create(LayoutOptions.Center); public static readonly BindableProperty VerticalContentAlignmentProperty = - BindablePropertyExtensions.Create(LayoutOptions.Center); + BindablePropertyExtensions.Create(LayoutOptions.Center); public static readonly BindableProperty SortingEnabledProperty = - BindablePropertyExtensions.Create(true); + BindablePropertyExtensions.Create(true); public static readonly BindableProperty HeaderLabelStyleProperty = - BindablePropertyExtensions.Create( + BindablePropertyExtensions.Create( propertyChanged: (b, o, n) => { if (o != n && b is DataGridColumn self && self.HeaderLabel != null)