按钮文本不显示在datagridview的最后一行

时间:2015-11-02 07:21:44

标签: c# datagridview datagridviewbuttoncolumn

我有DataGridView DataGridViewButtonColumn

DataGridViewButtonColumn cb = new DataGridViewButtonColumn();
cb.Name = columnName;
cb.HeaderText = headerText;
cb.Text = buttonCaption;
cb.UseColumnTextForButtonValue = true;
cb.UseColumnTextForButtonValue = true;
this.Columns.Add(cb);

Picture

为什么它没有显示最后一行按钮的文字?

0 个答案:

没有答案