24 lines
557 B
C#
24 lines
557 B
C#
using Kingdee.BOS.Core.List;
|
|
using Kingdee.BOS.Orm.DataEntity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace K3CExttensionMethods
|
|
{
|
|
public static class ListHeaderExtension
|
|
{
|
|
public static ListHeader SetHeader(this ListHeader thiObj, Func<ListHeader, ListHeader> func)
|
|
{
|
|
return func(thiObj);
|
|
}
|
|
|
|
public static ListHeader SetWidth(this ListHeader thiObj,int width)
|
|
{
|
|
thiObj.Width = width;
|
|
return thiObj;
|
|
}
|
|
}
|
|
}
|