Skip to content

Commit 7d7c9bd

Browse files
authored
Merge pull request #360 from w-ahmad/feat/inline-cell-templates
feat: Support inline cell templates in template columns
2 parents 8ca722c + e1197c3 commit 7d7c9bd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Columns/TableViewTemplateColumn.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using Microsoft.UI.Xaml;
22
using Microsoft.UI.Xaml.Controls;
3+
using Microsoft.UI.Xaml.Markup;
34

45
namespace WinUI.TableView;
56

@@ -9,6 +10,7 @@ namespace WinUI.TableView;
910
#if WINDOWS
1011
[WinRT.GeneratedBindableCustomProperty]
1112
#endif
13+
[ContentProperty(Name = nameof(CellTemplate))]
1214
public partial class TableViewTemplateColumn : TableViewColumn
1315
{
1416
/// <summary>

0 commit comments

Comments
 (0)