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
865
Overriding parts of DataRecordCellArea style but maintaining theme
posted

All,

I have a scenario where I need to change the background of a record under certain conditions. If I do this by defining a style for the DataRecordCellArea then I lose all of the existing style elements.

All our XamDataGrid's are themed with Theme="[current]" so that theme switches by the user apply consistently across all grids.

Applying this style with, or without a key but not basing it on anything in this specific grid reverts back to a default style for items such as hover and selection colors, as expected.

Is there any way that I can, for this grid, define the a background color in the DataRecordCellArea, yet set BasedOn to the current theme's style for DataRecordCellArea?