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

GetPropertiesSupported() public method

public GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
return bool
        public virtual bool GetPropertiesSupported(ITypeDescriptorContext context) {
            return false;
        }
        

Same methods

TypeConverter::GetPropertiesSupported ( ) : bool

Usage Example

 /// <summary>
 /// Returns whether this object supports properties, 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 <see cref="M:System.ComponentModel.TypeConverter.GetProperties(System.Object)"></see> should be called to find the properties of this object; otherwise, <c>false</c>.
 /// </returns>
 public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context)
 {
     return(baseTypeConverter.GetPropertiesSupported(context));
 }