More in this section

Forums / Developing with Sitefinity / Adding help to custom properties

Adding help to custom properties

2 posts, 0 answered
  1. Connections Academy Developer
    Connections Academy Developer avatar
    151 posts
    Registered:
    04 May 2005
    27 Mar 2009
    Link to this post
    If you add a control to a page in Sitefinity, and go to edit the control - you will see that onthe Properties tab the ID propertyhas a little help icon next to it. 

    We've added many custom properties to our controls, and I would really like to be able to add help like the ID Property has.   Is there an attribute that will do this for me?

    Thanks!

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    27 Mar 2009
    Link to this post
    Hi Connections Academy Developer,

    Try using System.ComponentModel.Description as below:

    [System.ComponentModel.Description("Some desc here")]  
        public Guid ContentID  
        {  
           get 
            {  
                return this.contentID;  
            }  
            set 
     
            {  
                this.contentID = value;  
            }  
        } 

    Description attribute specifies a description for an property or event.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
2 posts, 0 answered