Skip to content

Commit a088549

Browse files
adirh3danwalmsley
authored andcommitted
Allow creating custom Datagrid columns (#6689)
* Change BindingTarget of DataGridBoundColumn to public, this will allow custom columns * Changed modifier to protected
1 parent 12f3121 commit a088549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Avalonia.Controls.DataGrid/DataGridBoundColumn.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private static ICellEditBinding BindEditingElement(IAvaloniaObject target, Avalo
133133

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

136-
internal AvaloniaProperty BindingTarget { get; set; }
136+
protected AvaloniaProperty BindingTarget { get; set; }
137137

138138
internal void SetHeaderFromBinding()
139139
{

0 commit comments

Comments
 (0)