开发者

TreeNodeCollection Control Property C#

开发者 https://www.devze.com 2023-03-12 16:07 出处:网络
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

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

精彩评论

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