Method SetPropertyMinMax
SetPropertyMinMax(IPropertyGridItem, TypeCode)
Sets minimal and maximal values of the numeric property.
void SetPropertyMinMax(IPropertyGridItem prop, TypeCode code)
Parameters
propIPropertyGridItemProperty item.
codeTypeCodeObject type from which min and max values will be applied.
SetPropertyMinMax(IPropertyGridItem, object?, object?)
Sets minimal and maximal values of the numeric property.
void SetPropertyMinMax(IPropertyGridItem prop, object? min, object? max = null)
Parameters
propIPropertyGridItemProperty item.
minobjectMinimal property value.
maxobjectMaximal property value.
Remarks
If null is passed in the max or min
parameter, limit is not set.