开发者

What is the UITypeEditor for ToolStrip.Items?

I've had a long look through MSDN documentation and all I'm starting to think that this editor is defined as Internal only. I'm guessing it is similar to the CollectionEditor, tho开发者_JAVA百科ugh this does provide any ToolStripItem specific elements.

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

Does anyone know the class for this editor - the one which ToolStrip.Items uses?


Looks like it is System.Windows.Forms.Design.ToolStripCollectionEditor internal class from the System.Design assembly:

[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
{
...
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜