[ad_1]
I'm trying to find a way to update the AlternationIndex of a DataGrid (or at least the RowBackground and AlternatingRowBackground) to reflect the hidden / visible rows.
for example, if the second row is hidden, then the third row should have its AlternationIndex to 1 instead of 0 (considering the AlternationCount being 2), etc..
[ad_2]
لینک منبع