System.ComponentModel.TypeConverter.GetCreateInstanceSupported C# (CSharp) Method

GetCreateInstanceSupported() public method

public GetCreateInstanceSupported ( ) : bool
return bool
        public bool GetCreateInstanceSupported() {
            return GetCreateInstanceSupported(null);
        }

Same methods

TypeConverter::GetCreateInstanceSupported ( ITypeDescriptorContext context ) : bool

Usage Example

Exemplo n.º 1
0
 /// <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));
 }
All Usage Examples Of System.ComponentModel.TypeConverter::GetCreateInstanceSupported