You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
500 B

using System;
using System.Collections.Generic;
/// <summary>
/// Summary description for GridViewGroupList
/// </summary>
public class GridViewGroupList : List<GridViewGroup>
{
public GridViewGroup this[string name]
{
get { return this.FindGroupByName(name); }
}
public GridViewGroup FindGroupByName(string name)
{
foreach (GridViewGroup g in this)
{
if (g.Name.ToLower() == name.ToLower()) return g;
}
return null;
}
}