So I’m feeling foolish now, this attribute is as simple as the previous 2, so because of this now assume all the attributes are simple unless I state otherwise.
The attribute allows you to enter text that will be displayed as a tooltip but only when the property is displayed in edit mode.
As per usual just decorate the property with the attribute and set its value:
[Description("Name of the company")] public object CompanyName { get; set;}
Which in edit mode you then get:
No comments:
Post a Comment