BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridControl1_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
if(e.RowIndex == 1 && e.ColIndex == 2)
e.Style.BackColor = Color.Red;
}
Regards,
Priti
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { if(e.ColIndex > 0 && e.RowIndex > 0) { int row, col; Point pt = this.gridDataBoundGrid1.PointToClient(Control.MousePosition); if(this.gridDataBoundGrid1.PointToRowCol(pt, out row, out col, -1) && row == e.RowIndex && col == e.ColIndex) { e.Style.TextColor = Color.Blue; } } } private void gridDataBoundGrid1_CellMouseHoverEnter(object sender, GridCellMouseEventArgs e) { this.gridDataBoundGrid1.RefreshRange(GridRangeInfo.Cell(e.RowIndex, e.ColIndex)); } private void gridDataBoundGrid1_CellMouseHoverLeave(object sender, GridCellMouseEventArgs e) { this.gridDataBoundGrid1.RefreshRange(GridRangeInfo.Cell(e.RowIndex, e.ColIndex)); }