Hello.
In the attached project I have two grids:
1) The one on the top has the ActiveRowAppearance set to two colors in a vertical gradient. The EditCellAppearance is not changed. I would expect the EditCellAppearance to resolve to the ActiveRowAppearance's BackColor, BackColor2 and BackGradientStyle. Only the BackColor is inherited. Is that the expected behavior or that's a bug?
2) The one on the bottom has ActiveRowAppearance and EditCellAppearance defined, including the BackColor, BackColor2 and BackGradientStyle. At run time only the Age and DateOfBirth columns honor the EditCellAppearance. The Name column does not honor it and I only get BackColor. Is that a bug? The only difference between the columns is the style. The Name column's Style is Edit. The Age column Style is IntegerPositive and the DateOfBirth column is DateWithSpin. I think the source of the problem is the editor fo the column; if I change the Style of the Age column to Edit, that column won't honor the EditCellAppearance either.
Thanks.
Thanks for the answer Mike. That solved the problem.
If you set the Style of the column to FormattedText, it might work. I think the FormattedTextEditor supports gradient backgrounds.
Thanks for the answer Matt.
Is there a workaround? Maybe using one of the editors?
The underlying problem to both of these issues is with the EditorWithText, as you mentioned with your suspicions of the style of the column. This is the expected behavior because the EditorWithText uses a .NET TextBox while in edit mode, which does not support drawing gradient backgrounds. The other styles work because they use an EditorWithMask.
-Matt