开发者

TreeNodeCollection Control Property C#

Unfortunately I'm very new to different control properties and was wondering why the following code doesn't work when I try to set the开发者_运维百科 TreeNodeCollection. Is there another way I would be able to obtain a continuous layered "list"?

public TreeNodeCollection MenuItems { get; set; }


MenuItems is already instantiated, just use this

MenuItems.AddRange(yourList); 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜