Mark
2009-10-04 06:05:31 UTC
How can I have a fixed size button (just large enough to contain the word
"Delete") in a DataGridViewButton cell? My Delete buttons are filling the
entire cell no matter what the cell size is. One of my columns contains a
variable amount of text and I have WrapMode=true, so the row heights are
different sizes (DataGridView.AutoSizeRowsMode =
DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders).
"Delete") in a DataGridViewButton cell? My Delete buttons are filling the
entire cell no matter what the cell size is. One of my columns contains a
variable amount of text and I have WrapMode=true, so the row heights are
different sizes (DataGridView.AutoSizeRowsMode =
DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders).