Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateColumn: CellTemplateSelector seems not to work #115

Open
VisualAlf opened this issue Mar 4, 2025 · 0 comments
Open

TemplateColumn: CellTemplateSelector seems not to work #115

VisualAlf opened this issue Mar 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@VisualAlf
Copy link
Contributor

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 VisualAlf added the bug Something isn't working label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant