Browse Source
make cell template the content of DataGridTemplateColumn
saves a lot of bloat when decalring TemplatedColumns.
pull/5580/head
Dan Walmsley
6 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
0 deletions
-
src/Avalonia.Controls.DataGrid/DataGridTemplateColumn.cs
|
|
@ -22,6 +22,7 @@ namespace Avalonia.Controls |
|
|
o => o.CellTemplate, |
|
|
o => o.CellTemplate, |
|
|
(o, v) => o.CellTemplate = v); |
|
|
(o, v) => o.CellTemplate = v); |
|
|
|
|
|
|
|
|
|
|
|
[Content] |
|
|
public IDataTemplate CellTemplate |
|
|
public IDataTemplate CellTemplate |
|
|
{ |
|
|
{ |
|
|
get { return _cellTemplate; } |
|
|
get { return _cellTemplate; } |
|
|
|