Method SetPropertyKnownAttribute
SetPropertyKnownAttribute(IPropertyGridItem, PropertyGridItemAttrId, object?, PropertyGridItemValueFlags)
Sets known attribute for the property.
public virtual void SetPropertyKnownAttribute(IPropertyGridItem prop, PropertyGridItemAttrId attrName, object? value, PropertyGridItemValueFlags argFlags = PropertyGridItemValueFlags.DontRecurse)
Parameters
prop
IPropertyGridItemattrName
PropertyGridItemAttrIdAttribute identified.
value
objectValue of attribute.
argFlags
PropertyGridItemValueFlagsOptional. Use Recurse to set the attribute to child properties recursively.
Remarks
See SetPropertyAttribute(IPropertyGridItem, string, object?, PropertyGridItemValueFlags) for the details.