Skip to content

Commit

Permalink
Allow creating custom Datagrid columns (#6689)
Browse files Browse the repository at this point in the history
* Change BindingTarget of DataGridBoundColumn to public, this will allow custom columns

* Changed modifier to protected
  • Loading branch information
adirh3 committed Oct 7, 2021
1 parent 5f7276e commit 88d9437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Controls.DataGrid/DataGridBoundColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private static ICellEditBinding BindEditingElement(IAvaloniaObject target, Avalo

protected abstract IControl GenerateEditingElementDirect(DataGridCell cell, object dataItem);

internal AvaloniaProperty BindingTarget { get; set; }
protected AvaloniaProperty BindingTarget { get; set; }

internal void SetHeaderFromBinding()
{
Expand Down

0 comments on commit 88d9437

Please sign in to comment.