WinUI.TableView icon indicating copy to clipboard operation
WinUI.TableView copied to clipboard

TemplateColumn: CellTemplateSelector seems not to work

Open VisualAlf opened this issue 10 months ago • 0 comments

I've difficulties using the TemplateSelector in TemplateColumn. A very simple project demonstrating is here: TemplateSelectorIssue.zip It produces: Image

Note, that the column 'Selector-Column' is empty, but should have the same content as the 'String'-column (except that the third row should have the cell content in red).

I found the parameter (item) for the method: protected override DataTemplate SelectTemplateCore(object item) to always be null.

... or is there somewhat else ?

VisualAlf avatar Mar 04 '25 12:03 VisualAlf