0

我仔细阅读了 MSDN 文档,我开始认为这个编辑器被定义为仅限内部。我猜它类似于 CollectionEditor,尽管它确实提供了任何 ToolStripItem 特定元素。

[EditorAttribute(typeof(System.ComponentModel.Design.CollectionEditor), typeof(System.Drawing.Design.UITypeEditor))]

有谁知道这个编辑器的类——ToolStrip.Items 使用的那个?

4

1 回答 1

2

看起来它是来自 System.Design 程序集的 System.Windows.Forms.Design.ToolStripCollectionEditor 内部类:

[Editor("System.Windows.Forms.Design.ToolStripCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
public class ToolStripItemCollection : ArrangedElementCollection, IList, ICollection, IEnumerable
{
...
}
于 2010-07-09T10:42:47.560 回答