没看见那个属性可以设置啊,应该雨这个功能的吧
你 的是winform的吗?
string[] list = new string[] { "张三", "李四", "王五" }; int x = 0, y = 0; foreach (string item in list) { CheckBox cb = new CheckBox(); cb.Text = item; cb.Location = new Point(x, y); clbInvisibleColumn.Controls.Add(cb); y += 22; }