Custom intellisense for server controls?

后端 未结 2 1303
一整个雨季
一整个雨季 2020-12-11 23:02

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

eg can you get it to do this:

alt text http://www.yart.c

2条回答
  •  孤城傲影
    2020-12-11 23:54

    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)] 
    

    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...

提交回复
热议问题