Author: CristianoCristiano
Date: Apr 12, 2008 08:09
I'm using VS 2008 .NET framework under XP.
I need to resize the rows of a DataGridView to accomodate the text in
multiline cells.
I would use the method
void AutoResizeRow(
int rowIndex,
DataGridViewAutoSizeRowMode autoSizeRowMode,
bool fixedWidth
)
but it is protected. When I try to derive that control, I get some errors
(which I don't understand).
Please, could somebody tell me how to derive a DataGridView?
Thanks
Cristiano
|