Hi,
I am using ConditionalFormattingObject to format cells like this:
var x =
new
ConditionalFormattingObject(
"column"
, ConditionTypes.NotEqual,
"-1"
,
""
,
false
);
x.CellBackColor = Color.FromArgb(222, 253, 219);
x.CellForeColor = Color.Blue;
column.ConditionalFormattingObjectList.Add(x);
Everything is fine until a multi-cell selection.
It seems to me that ConditionalFormattingObject also overrides the background coloring for the selected cells, but it should not.
Please check the attachment, which shows what is now and what should be.
I do not want to use the ViewCellFormatting event becouse of performance reasons.