Fred,
>How do you get custom property descriptions to show up in the property sheet during development?
You need to adorn the property with the Description attribute. For example:
[Category("Data"),
Description("Specifies if the control is automatically bound."),
DefaultValue(true)]
public virtual bool BindingFlag
{
get { return _bindingFlag; }
set { _bindingFlag = value;}
}
private bool _bindingFlag = true;
I have included a few other commonly used design-time attributes.
- Category - specifies the category in which the property appears when the property window is sorted by category. This can be one of the existing categories, or your own custom category
- DefaultValue - specifies he default value of the property
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com