Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Issue with CellValuePresenter style in RecordContainerGenerationMode="Recycle"
posted

Hi,

In my XamDataGrid, i have given RecordContainerGenerationMode as "Recycle". For some Cells, i manually change visual appearence like Background, Foreground, FontFamily. When i am scrolling down or up, i use to see CellValuePresenter's with the customized appearence which i applied earlier. So it is using the same CellValuePresenter with the customized style. Is this a correct behaviour ?

If so When reusing a CellValuePresenter, the CellValuePresenter's current style needs to be removed and it should be defaulted to column's style ? How to achieve this?

Thanks

Kumaran Vellaisamy

Parents Reply Children