public override void SetValue(object component, object value) { base.SetValue(component, value); RadObject component1 = (RadObject)component; if (component1 == null) { return; } RadProperty radProperty = this.GetRadProperty(component1); if (radProperty == null || !component1.IsDesignMode) { return; } component1.SetPropertyValueSetAtDesignTime(radProperty); }
public override void SetValue(object component, object value) { base.SetValue(component, value); RadObject element = (RadObject)component; if (element == null) { return; } RadProperty property = this.GetRadProperty(element); if (property != null && element.IsDesignMode) { element.SetPropertyValueSetAtDesignTime(property); } }