Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
24020 | Jan 27,2005 02:12 AM UTC | Jan 27,2005 05:51 AM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_DrawCurrentCellBorder(object sender, GridDrawCurrentCellBorderEventArgs e)
{
Rectangle r = e.Bounds;
r.Width = r.Width - 1;
r.Height = r.Height - 1;
e.Graphics.DrawRectangle(Pens.Red, r);
e.Cancel = true; //so grid does not overdraw
}
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.