I was trying to change the back color of a DevExpress TileView when the tileview has been checked. However, it didn't change the color even if the line has been executed. So what should I do to make it happen? Here's my current implementation.
private void tileViewWaves_ItemCustomize(object sender, TileViewItemCustomizeEventArgs e)
{
// get wave model DTO for tile
var wave = tileViewWaves.GetRow(e.RowHandle) as dtoReferenceWave;
// display tile as checked if it is ready for all wave
if (wave.frequency != 0 && wave.amplitude != 0)
{
e.Item.Checked = _presenter.WaveHasAllReference(wave) && _presenter.SufficientReference;
e.Item.Appearance.BackColor = Color.Green;
Console.WriteLine($"INFO: Waves have been completed populated and checked, should turn green now with {e}");
}
}