System.ComponentModel.ReferenceConverter.IsValueAllowed C# (CSharp) Method

IsValueAllowed() protected method

Gets a value indicating whether a particular value can be added to the standard values collection.

protected IsValueAllowed ( ITypeDescriptorContext context, object value ) : bool
context ITypeDescriptorContext
value object
return bool
        protected virtual bool IsValueAllowed(ITypeDescriptorContext context, object value)
        {
            return true;
        }