Showing posts with label DataGridView. Show all posts
Showing posts with label DataGridView. Show all posts

Thursday, May 7, 2009

Get location of CurrentCell in DataGridView

want to manipulate the colors of DataGridViewCell's rectangle?
use this code to getthe rectangle


DataGridViewCell cc = this.dataGridView1.CurrentCell;
Rectangle rect = this.dataGridView1.GetCellDisplayRectangle(cc.ColumnIndex,
cc.RowIndex, true);

 
Home | About | Link | Link
Simple Proff Blogger Template Created By Herro | Inspiring By Busy Bee Woo Themes