Method SetPropertyReadOnly
SetPropertyReadOnly(IPropertyGridItem, bool, bool)
Sets property readonly flag.
void SetPropertyReadOnly(IPropertyGridItem prop, bool isSet, bool recurse = true)
Parameters
propIPropertyGridItemProperty item.
isSetboolNew Readonly flag value.
recursebooltrueto change readonly flag recursively for child propereties,falseotherwise.