提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+24 -1
View File
@@ -2814,4 +2814,27 @@ namespace Lskj.Control
if (childTreeBandView != null)
{
// 调整底部bandGcBottom的列宽(始终为BandedGridView类型)
List<DevExpress.XtraTreeList.Columns.TreeListColumn> bottomColumnList = new List<DevExpress.Xt
List<DevExpress.XtraTreeList.Columns.TreeListColumn> bottomColumnList = new List<DevExpress.XtraTreeList.Columns.TreeListColumn>();
foreach (DevExpress.XtraTreeList.Columns.TreeListBand gridBand in childTreeBandView.TreeListObj.Bands)
{
if (gridBand.Caption.Equals("基本信息"))
{
bottomColumnList.AddRange(gridBand.Columns.Cast<DevExpress.XtraTreeList.Columns.TreeListColumn>());
break;
}
}
// 按计算好的宽度均分调整
if (bottomColumnList.Count > 0)
{
int perWidth = allWidth / bottomColumnList.Count;
foreach (DevExpress.XtraTreeList.Columns.TreeListColumn bandedGridColumn in bottomColumnList)
{
bandedGridColumn.Width = perWidth;
}
}
}
}
}
}
}