3金币
c1TrueDBGrid控件的第一列是按钮列,想在按钮显示上传两个字,试了很多方法都不行,具体代码我放下面,请帮我看一下。
C1TrueDBGridUtility.SetUnbandColumnsEx(c1TrueDBGrid1, 0, "操作", "", 80, 22, true, 10.0f, AlignHorzEnum.Center, AlignVertEnum.Center, FontStyle.Bold);
c1TrueDBGrid1.Splits[0].DisplayColumns[0].ButtonText = true;
c1TrueDBGrid1.Splits[0].DisplayColumns[0].Button = true;
c1TrueDBGrid1.Splits[0].DisplayColumns[0].ButtonAlways = true;
c1TrueDBGrid1.Splits[0].DisplayColumns[0].ButtonHeader = true;
// c1TrueDBGrid1.Splits[0].DisplayColumns[0].DataColumn.ButtonPicture = Resources.btn_bak;
c1TrueDBGrid1.Splits[0].DisplayColumns[0].DataColumn.Text = "上传";
|
|