The rich text cell is still rendering incorrectly (please see attachment). Any ideas why the cell backcolor would be different than the one specified in DrawCell?
private void QDataBoundGrid_DrawCell(object sender, GridDrawCellEventArgs e)
{
if (e.Style.CellType == "RichText")
{
string s = e.Style.Text;
e.Style.Text = "";
e.Renderer.Draw(e.Graphics, e.Bounds, e.RowIndex, e.ColIndex, e.Style);
Rectangle rect = e.Bounds;
// AlphaBlendSelectionColor = (74,51,51,102)
Syncfusion.Drawing.RichTextPaint.DrawRichText(e.Graphics, s, false, rect, rect, this.AlphaBlendSelectionColor, rect, false, 100);
e.Cancel = true;
return;
}
}
RichTextIssue3.zip