服务器控件的自定义智能感知? [英] Custom intellisense for server controls?

查看:109
本文介绍了服务器控件的自定义智能感知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否可以对Visual Studio进行编程/配置,以为您自己的服务器控件生成自定义的智能感知。

Can you program/configure Visual Studio to produce custom intellisense for your own server controls.

例如,您可以这样做吗:

eg can you get it to do this:

替代文字http://www.yart.com .au / test / vs.gif

获取自己的标签,例如:

for a tag of your own like:

<MyCompany:MyTag ...


推荐答案

您应该免费获得它(控件的默认行为)。

You should be getting this for free (default behavior of control). Are the references all in place while you are typing the custom control?

有一个属性可以隐藏智能感知中的属性:

There is an attribute to hide properties from intellisense:

[EditorBrowsableAttribute (EditorBrowsableState.Never)] 

使用description属性提供其他帮助:

Use the description attribute to provide additional help:

[Description("My extra helpful description")]

还有其他一些影响智能感知和属性浏览器的属性……

There are some other attributes that affect intellisense and the property explorer you might want to look up...

这篇关于服务器控件的自定义智能感知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆