var property = condition.GetType().GetProperty("PropertyName"); property.SetValue(condition, "value", null);