protected override void OnValueChanged(object oldValue, object newValue) { base.OnValueChanged(oldValue, newValue); // Update the ObjectContainerHelper this depends on var helper = new ObjectContainerHelper(this, newValue); this.ContainerHelper = helper; if (this.IsExpanded) { helper.GenerateProperties(); } }
protected override void OnValueChanged( object oldValue, object newValue ) { base.OnValueChanged( oldValue, newValue ); // Update the ObjectContainerHelper this depends on var helper = new ObjectContainerHelper( this, newValue ); this.ContainerHelper = helper; if( this.IsExpanded ) { helper.GenerateProperties(); } }