示例#1
0
 /// <summary>
 /// 先右找一个列信息
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="source"></param>
 /// <param name="t"></param>
 /// <returns></returns>
 public static EditColumn LeftColumnItem(this List <EditColumn> source, EditColumn t)
 {
     return(GetItem(source.OfType <object>().ToList(), source.IndexOf(t) - 1, t) as EditColumn);
 }
示例#2
0
 /// <summary>
 /// 先右找一个列信息
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="source"></param>
 /// <param name="t"></param>
 /// <returns></returns>
 public static EditColumn LeftColumnItem(this List<EditColumn> source, EditColumn t)
 {
     return GetItem(source.OfType<object>().ToList(), source.IndexOf(t) - 1, t) as EditColumn;
 }