Description (and many attributes) for User Control does not display information

I want to show some information about the description of my User Control in the Propereties toolbar. After specifying some attributes of the control:

    public partial class WebUserControl1 : System.Web.UI.UserControl
{
    int id;

    [Description("Get or Set the main name of the css class to apply")]
    public string CssClass { get; set; }

    [Description("Get the number of nodes")]
    public int NodesCount
    {
        get
        {
            return id;
        }
    }

    [Browsable(true),
    Category("Behavior"),
    DefaultValue(""),
    Description("The Uri to find the Xml file"),
    Editor(typeof(System.Web.UI.Design.XmlUrlEditor), typeof(UITypeEditor))]
    public string XmlPath { get; set; }

No response from the toolbar

enter image description here

Any ideas?

+3
source share
1 answer

I also confirmed this, but I read that if you create WebUserControl in a separate project and add the .dll link, you will get the necessary development-time support.

0
source

Source: https://habr.com/ru/post/1794997/


All Articles