开发者

AllowDrop does not appear in intellisense menu

Why does the AllowDrop property in VB.net not appear in the intellisense menu of a control?

开发者_开发百科

Also why is it not in the propeties window of the designer?


Have a look at

picturebox allowdrop property missing?

There might be something stated about this on MSDN perhaps? the picturebox class seems to override that property and hide it from the user. See for yourself in Reflector if you want it sets browsable to false, and editbrowsabel to never

And Drag and Drop Text

For most controls, you can set the AllowDrop property in the Properties window during design time. However, some controls (such as the PictureBox control) do not expose this property in the Properties window. As such, you need to dynamically set them in code (note that IntelliSense will not show the AllowDrop property).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜