單元格換行:this
this.gridColumn2.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
this.gridColumn2.CellStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True;spa
superTabControl:blog
修改標題顏色
io
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\CSharp\2052class
private void superGridControl1_GetRowCellStyle(object sender, GridGetRowCellStyleEventArgs e) { if (e.StyleType != StyleType.Default) { return; } var row = e.GridRow as GridRow; if (row == null) { return; } if (((SealupItem)row.DataItem).State == "1") { e.Style.Background = new Background(Color.Tomato); } }