Exemple #1
0
 public override void SetControlValue(Control control, object source, string propertyName)
 {
     var sourceProperty = source.GetType().GetProperty(propertyName);
     if (sourceProperty == null) return;
     var value = sourceProperty.GetValue(source, null);
     control.SetPropertyValue(ControlPropertyName, value);
 }