Hello,
I'm using XamDataGrid which contains about 9 bound and about 70 unbound fields. For CellValuePresenter I've created custom template(ControlTemplate), in which I have trigger. Trigger is bound to property in VM and to CellValuePresenter itself.
The issue is that when I scroll vertically CellValuePresenter changed for both types of fields (which I believe is expected behaviour). But during horizontal scroll only CellValuePresenters for bound fields is changed. I need this behaviour to change style of CellValuePresenter according to value in VM.
The workaround I've found yet is to either disable cell virtualization(which is horrible in terms of performance) or set CellContainerGeneration to LazyLoad (which is also not the best decision in terms of performance).
Is there any way to notify that CellValuePresenter has changed(because I believe it has)?
Hello Maksym,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
I am now preparing sample project which would describe my problem. Hovewer this may take some time as I switched to another task, which I need to finish