/// <summary>
 /// Adds a custom property to the collection.
 /// </summary>
 /// <param name="value">The custom property object to add.</param>
 public void Add(CustomProperty value)
 {
     List.Add(value);
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomPropertyDescriptor"/> class.
 /// </summary>
 /// <param name="myProperty">A single property that can be displayed in a property editor.</param>
 /// <param name="attrs">Property attributes.</param>
 public CustomPropertyDescriptor(ref CustomProperty myProperty, Attribute[] attrs)
     : base(myProperty.Name, attrs)
 {
     _property = myProperty;
 }