SVN r370
SVN-Revision: r370
This commit is contained in:
@@ -363,7 +363,11 @@ namespace Lskj.Control
|
||||
gridColumn.AppearanceHeader.Options.UseForeColor = true;
|
||||
gridColumn.AppearanceHeader.ForeColor = RequiredForceColor;
|
||||
}
|
||||
|
||||
if (model.DataAlignment > 0)
|
||||
{
|
||||
gridColumn.AppearanceCell.Options.UseTextOptions = true;
|
||||
gridColumn.AppearanceCell.TextOptions.HAlignment = model.DataAlignment == 1 ? DevExpress.Utils.HorzAlignment.Center : DevExpress.Utils.HorzAlignment.Far;
|
||||
}
|
||||
// 设置列格式化、汇总
|
||||
this.SetColumnFormat(gridColumn, model);
|
||||
this.SetColumnSumming(gridColumn, model);
|
||||
|
||||
Reference in New Issue
Block a user