日期:2014-05-18 浏览次数:21367 次
private void gvList_RowStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowStyleEventArgs e)
{
e.Appearance.BackColor = Color.Red;
}
------解决方案--------------------
试试这个!
private bool isSearch;
private void RowMergeView_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
{
if (isSearch==true)
{
//把你选择出行的backcolor.color=Color.FromAgb(xx,xx,xx);
}
}