简体   繁体   中英

WinForms UserControl Designer for Control[] Property

If I have a public property for the designer of type Control I see a dropdown of controls that currently exist.

However, if I have a Control[] I can only create new controls. Is it possible to somehow be able to choose existing Controls for the Control[] property via Designer?

http://i55.tinypic.com/2j14xvo.png

I have the following:

[Browsable(true),CategoryAttribute("Text"), DescriptionAttribute("Tooltips for underlined text")]
public Control[] TooltipControls

我认为答案是不可能的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM