public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { AwardListItem ali = (AwardListItem)value; if (destinationType == typeof(String)) { return(""); } return(base.ConvertTo(context, culture, value, destinationType)); }
public AwardListPropertyDescriptor(AwardList prop, Attribute[] attrs, int Count) : base(Count.ToString(), attrs) { ali = prop.ALI; }