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);
Thursday, May 7, 2009
Get location of CurrentCell in DataGridView
תוויות:
C#,
DataGridView
Subscribe to:
Post Comments (Atom)
0 תגובות:
Post a Comment