/// <returns>true if changing a property on this object requires a call to <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)" /> to create a new value; otherwise, false.</returns> /// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param> public override bool GetCreateInstanceSupported(ITypeDescriptorContext context) { if (underlyingTypeConverter != null) { return(underlyingTypeConverter.GetCreateInstanceSupported(context)); } return(base.GetCreateInstanceSupported(context)); }
/// <summary> /// Returns whether changing a value on this object requires a call to <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)"></see> to create a new value, using the specified context. /// </summary> /// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"></see> that provides a format context.</param> /// <returns> /// true if changing a property on this object requires a call to <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)"></see> to create a new value; otherwise, <c>false</c>. /// </returns> public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { return(baseTypeConverter.GetCreateInstanceSupported(context)); }