I have my own UITypeEditor and have overrident EditValue. Is there any way
for me to prevent the PropertyValueChanged event of the PropertyGrid from
firing for my property? I am doing some work inside the EditValue that may
mean the change the user made to the property is not accepted, and I don't
want my PropertyValueChanged event to be raised.
Andrew Sharpe - 15 Jan 2005 19:27 GMT
Add "return value" to the bottom of the EditValue function. Then the
propertygrid will not raise the PropertyValueChanged event because the old
value will still be the same as the new value.
> I have my own UITypeEditor and have overrident EditValue. Is there any way
> for me to prevent the PropertyValueChanged event of the PropertyGrid from
> firing for my property? I am doing some work inside the EditValue that may
> mean the change the user made to the property is not accepted, and I don't
> want my PropertyValueChanged event to be raised.