/groupcontrols-

.NET 控件显示多个子,无需为每个子控件创建唯一的窗口句柄。相反,每个子项都是使用默认渲染器绘制的。

Primary LanguageC#OtherNOASSERTION

Group Controls for .NET WinForms

Controls that display multiple sub-controls without creating a unique window handle for each child. Instead each child is drawn using the default renderers and its space and status are managed by the parent. Currently there are the following controls:

  • RadioButtonList (similar the ASP.NET control)
  • CheckBoxList

In the Source Code, you will find an example project. Of note along with the controls are two generic classes. The first is a clone of List<T> called EventedList<T>. It has all the same methods, but adds events on all changes to the list or its items. The second is a SparseArray<T> that behaves the same as a List<T>, but is built on top of a Dictionary<T> so that you can address items that have not been added and have non-sequential indexes.