Method EnableProperty
EnableProperty(IPropertyGridItem?, bool)
Changes enabled state of the property.
public virtual bool EnableProperty(IPropertyGridItem? prop, bool enable = true)
Parameters
prop
IPropertyGridItemProperty item.
enable
boolNew enabled state value.
Returns
- bool
true
if operation was successful,false
otherwise.