Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
23698 | Jan 18,2005 09:27 AM UTC | Jan 28,2005 06:31 AM UTC | WinForms | 8 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_CellDrawn(object sender, GridDrawCellEventArgs e)
{
if(e.ColIndex == 0 && e.RowIndex == this.gridDataBoundGrid1.CurrentCell.RowIndex)
{
Rectangle rect = GridUtil.CenterInRect(e.Bounds, this.imageList1.ImageSize);
GridStaticCellRenderer.DrawImage(e.Graphics, this.imageList1, 0, rect, false);
}
}
this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header";
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.