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

DataGridTemplateColumn doesn't respect FuncDataTemplate SupportsRecycling parameter #5453

Closed
maxkatz6 opened this issue Feb 9, 2021 · 1 comment · Fixed by #5638
Closed

Comments

@maxkatz6
Copy link
Member

maxkatz6 commented Feb 9, 2021

Describe the bug
DataGrid tries to recycle data templates even if this operation was marked as unsupported.

To Reproduce
Create DataGridTemplateColumn template from code behind with hardcode dependency on date context value instead of bindings.

Expected behavior
DataTemplate is not recycled, if it was marked as SupportsRecycling = false.

Desktop (please complete the following information):

  • OS: All
  • Version 0.10.0 (must be 0.9 and earlier too).
@maxkatz6 maxkatz6 added the bug label Feb 9, 2021
@kekekeks
Copy link
Member

kekekeks commented Feb 9, 2021

That effectively prevents DataGrid from being used with non-type based template selectors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants