Table of Contents

Method SetPropertyMinMax

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetPropertyMinMax(IPropertyGridItem, TypeCode)

Sets minimal and maximal values of the numeric property.

void SetPropertyMinMax(IPropertyGridItem prop, TypeCode code)

Parameters

prop IPropertyGridItem

Property item.

code TypeCode

Object 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

prop IPropertyGridItem

Property item.

min object

Minimal property value.

max object

Maximal property value.

Remarks

If null is passed in the max or min parameter, limit is not set.