notify changes

Hi,

if i make some designtime verb that call a method in my component that alters teh state of some properties.
those properties does never get persisted in the code unless i change something else via the prop browser after my designer verb was used.

so , how can i notify the designer that my properties has changed

//Roger


Answer this question

notify changes

  • Juan.Faustino

    i think you have to use property descriptor's setvalue method instead.

    TypeDescriptor.GetProperties(myObject)["MyPropertyName"].SetValue(myObject, myNewValue);

  • notify changes