Is it possible to attach a style or define a property in the WPF System.Windows.Controls.Grid in order to alternate the color of the rows(or columns)?
I need that User be able to place a grid placeholder (something similar to CrystalReports)… It can parameter the grid, but the grid (in View) will not contain any data.
The only way I can think of doing this is by hand using a
Rectangleeither declared before the row contents or with it’s Z order set to push it to the back:You might be able to use bindings to pass the row number to a converter to return the correct colour rather than hard coding like I have here.