dif-sam
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls.DataGrid/DataGridTemplateColumn.cs
|
|
|
@ -67,7 +67,7 @@ namespace Avalonia.Controls |
|
|
|
if (CellTemplate != null) |
|
|
|
{ |
|
|
|
return (CellTemplate is IRecyclingDataTemplate recyclingDataTemplate) |
|
|
|
? recyclingDataTemplate.Build(dataItem, cell.Content as IControl) |
|
|
|
? recyclingDataTemplate.Build(dataItem, cell.Content as Control) |
|
|
|
: CellTemplate.Build(dataItem); |
|
|
|
} |
|
|
|
if (Design.IsDesignMode) |
|
|
|
|