Changed method

void Changed()
Sets the isDirty flag to true and triggers dispatch of the change event to the owner of the property bag. Changed must be called whenever an operation that changes the state of this property bag is performed (e.g. adding or removing a property).

Implementation

void Changed() {
  this._isDirty = true;
  this.Owner!.Changed();
}