We tried to set the Enabled property of a PropertyManagerPageNumberBox and found out, that IPropertyManagerPage::SetRange2 overwrites the Enabled value and sets it always to true.
This code disables the numberBox:
//numberBox.SetRange2((int)swNumberboxUnitType_e.swNumberBox_Length, -10, 10, true, 0.005, 0.010, 0.001);
((IPropertyManagerPageControl) config).Enabled = false;
However if we uncomment the first line, the numberBox is enabled again.
Any suggestions how to use both, SetRange2 and the Enabled property for a number box?